Skip to content

Comments

chore: Minor changes in providers envs logic#161

Merged
elenazherdeva merged 3 commits intomainfrom
ez/providers_bug
Oct 28, 2024
Merged

chore: Minor changes in providers envs logic#161
elenazherdeva merged 3 commits intomainfrom
ez/providers_bug

Conversation

@elenazherdeva
Copy link
Contributor

  • change in logic for MissingProviderEnvVariableError
  • non-empty check for PROVIDER_NAME

Copy link
Contributor

@lamchau lamchau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome! thanks for getting this out so quickly! lgtm (one failing test)

cc: @codefromthecrypt, this should help with your pr!


if missing_vars:
env_vars = ", ".join(missing_vars)
raise MissingProviderEnvVariableError(env_vars, cls.PROVIDER_NAME, instructions_url)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:nit: maybe we add a test for 2 env vars?

@lamchau lamchau force-pushed the ez/providers_bug branch 5 times, most recently from 4134ee6 to 2beca8e Compare October 26, 2024 01:12
@elenazherdeva elenazherdeva merged commit c75917c into main Oct 28, 2024
@elenazherdeva
Copy link
Contributor Author

thank you for the fix @lamchau!

@lamchau lamchau deleted the ez/providers_bug branch October 28, 2024 22:06
lifeizhou-ap added a commit that referenced this pull request Oct 30, 2024
* main:
  chore: housekeeping (#202)
  feat: reduce tool entrypoints in synopsis for text editor, bash, process manager (#191)
  feat: list moderators (#204)
  chore: Minor changes in providers envs logic (#161)
  chore: add `.vscode` workspace settings and suggested extensions (#200)
  feat: license checker (#201)
  feat: include new anthropic model in docs and recommended config (#198)
  feat: tiny change so you know what processing is doing (#196)
  docs: correct intellij link (#197)
  docs: remove small duplication (#194)
  chore: add tracing option to run and group traces under session name (#187)
  docs: fix mkdocs, update to new references (#193)
ahau-square pushed a commit that referenced this pull request Nov 6, 2024
Co-authored-by: Lam Chau <lam@tbd.email>
ahau-square pushed a commit that referenced this pull request May 2, 2025
Co-authored-by: Lam Chau <lam@tbd.email>
cbruyndoncx pushed a commit to cbruyndoncx/goose that referenced this pull request Jul 20, 2025
Co-authored-by: Lam Chau <lam@tbd.email>
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.

3 participants