Open saiwing-yeung opened 3 months ago
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
.
BTW, this is a duplicate of #587.
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