Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement optional api-key and optional base-url #3

Closed
lilyhuang-github opened this issue Sep 12, 2024 · 1 comment
Closed

Implement optional api-key and optional base-url #3

lilyhuang-github opened this issue Sep 12, 2024 · 1 comment

Comments

@lilyhuang-github
Copy link

Changing it form the groq client to openai client might help with this as mentioned in issue #1 .

But step by step:

  1. Having an optional condition that checks if the api-key flag is true so that it can be accessed.
  2. Same thing but for the optional base-url
  3. Having the generate_comments potentially take the api-key and or base-url as a argument so that it'd use it, and also a default, whether the default should be done in how it handles arguments or in the function arguments I'm not sure.
@arilloid
Copy link
Owner

Implemented the logic to allow users to specify base URL and api key with option flags.

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

No branches or pull requests

2 participants