mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
chore(ui): drop the fetch lookup note from the fetchClient docblock
This commit is contained in:
parent
1d375d8ada
commit
f73e683800
1 changed files with 3 additions and 4 deletions
|
|
@ -43,10 +43,9 @@ const middleware: Middleware = {
|
|||
*
|
||||
* The base URL is injected, not fixed at import: every request is built against
|
||||
* whatever registerBaseUrlGetter supplies at call time (a split-origin proxy or
|
||||
* worker URL), falling back to the current origin. `fetch` is looked up per
|
||||
* request for the same reason, so a test that stubs the global sees these calls
|
||||
* too. The middleware injects the auth header and maps non-2xx responses to
|
||||
* ApiError so query functions can just read `.data`.
|
||||
* worker URL), falling back to the current origin. The middleware injects the
|
||||
* auth header and maps non-2xx responses to ApiError so query functions can just
|
||||
* read `.data`.
|
||||
*/
|
||||
export const fetchClient = createFetchClient<paths>({
|
||||
Request: BaseAwareRequest,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue