Skip to content

Fetch and work on szork branch locally#4

Draft
AnshumanAI wants to merge 2 commits into
szorkfrom
cursor/fetch-and-work-on-szork-branch-locally-6a79
Draft

Fetch and work on szork branch locally#4
AnshumanAI wants to merge 2 commits into
szorkfrom
cursor/fetch-and-work-on-szork-branch-locally-6a79

Conversation

@AnshumanAI

Copy link
Copy Markdown
Owner

Modify EnvLoader to prioritize system environment variables, fixing an issue where API keys were not being picked up.

The original EnvLoader only read from the .env file using dotenv.get(key), ignoring system-level environment variables. This prevented the application from correctly initializing LLM connections when API keys were set as system environment variables, leading to failed API calls. This change ensures that system environment variables are checked first, providing more flexible and expected behavior for environment configuration.


Open in Cursor Open in Web

cursoragent and others added 2 commits August 16, 2025 10:02
Co-authored-by: mcs23026 <mcs23026@iiitl.ac.in>
… file

Co-authored-by: mcs23026 <mcs23026@iiitl.ac.in>
@cursor

cursor Bot commented Aug 16, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

2 participants