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

Enable Base API URL for /learn #977

Closed
saiwing-yeung opened this issue Sep 4, 2024 · 2 comments · Fixed by #1136
Closed

Enable Base API URL for /learn #977

saiwing-yeung opened this issue Sep 4, 2024 · 2 comments · Fixed by #1136
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@saiwing-yeung
Copy link

Please enable Base API URL for /learn.

Problem

I am using a Base API URL that points to an internal OpenAI endpoint. Features like /ask works great, but /learn doesn't seem to use the customized API URL (I'd get an authentication error).

Proposed Solution

/learn would use the Base API URL.

Additional context

Using 2.22.0

@saiwing-yeung saiwing-yeung added the enhancement New feature or request label Sep 4, 2024
@dlqqq
Copy link
Member

dlqqq commented Nov 27, 2024

Thank you for reporting this issue, and sorry this went undiscovered for so long! I'll assign this issue to another contributor and add it to a milestone for tracking.

For contributors: We need a Base API URL optional field for all the OpenAI embedding providers defined in openai.py.

@dlqqq dlqqq added this to the Priority milestone Nov 27, 2024
@dlqqq
Copy link
Member

dlqqq commented Nov 27, 2024

BTW, this is a duplicate of #587.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants