FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: load .env credentials in call_llm verification script by payalkanyan · Pull Request #184 · The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge · GitHub

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

Open
payalkanyan wants to merge 1 commit into
The-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 into
The-Pocket:mainfrom
payalkanyan:fix/call-llm-dotenv-loading

Conversation

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

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL