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

feat: add base_uri and headers to configs #131

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

Conversation

ouronghuang
Copy link

No description provided.

@iBotPeaches
Copy link
Collaborator

We do have dynamic base url now. Do you see a common use-case to have custom headers?

@ouronghuang
Copy link
Author

DouBao is without headers

@iBotPeaches
Copy link
Collaborator

@ouronghuang - So DuoBao requires specific headers that you want to apply instead of manually constructing the client? Is it basically a drop-in replacement with OpenAI?

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