Skip to content

fix: load .env credentials in call_llm verification script#184

Open
payalkanyan wants to merge 1 commit intoThe-Pocket:mainfrom
payalkanyan:fix/call-llm-dotenv-loading
Open

fix: load .env credentials in call_llm verification script#184
payalkanyan wants to merge 1 commit intoThe-Pocket:mainfrom
payalkanyan:fix/call-llm-dotenv-loading

Conversation

@payalkanyan
Copy link
Copy Markdown

This PR fixes the utils/call_llm.py script so it correctly loads credentials from a .env file when run standalone for verification. I added load_dotenv() to the main execution block and updated the default model fallback from a deprecated experimental version to a stable one (gemini-1.5-flash) to prevent 404 errors. This should make the initial setup much easier for new users. It's a nice companion fix to the upgrades in #172!

Fixes #183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: utils/call_llm.py verification script fails to load .env when run standalone

1 participant