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

Add base_url #87

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add base_url #87

wants to merge 1 commit into from

Conversation

billytrend-cohere
Copy link
Collaborator

@billytrend-cohere billytrend-cohere commented Aug 13, 2024

Add base_url

@Anirudh31415926535
Copy link
Collaborator

Hi @billytrend-cohere Thanks for the PR!
Do run make format lint from libs/cohere to fix the lint errors in the checks!

timeout=request_timeout,
client_name=client_name,
base_url=values["base_url"],
)

Choose a reason for hiding this comment

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

I believe you want to return values here? could be wrong

cohere_api_key,
timeout=request_timeout,
client_name=client_name,
base_url=values["base_url"],

Choose a reason for hiding this comment

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

I think you want to do values.get() because base_url is optional.

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