mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
docs(ui): note team-token access and upstream logging on the capability join
This commit is contained in:
parent
c7512d5021
commit
dd8219366a
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ interface AvailableModel {
|
|||
/**
|
||||
* /models carries no capability metadata, so the team-allowed names are joined against
|
||||
* /model_group/info; a name without a group entry keeps every capability field absent (unknown).
|
||||
* The group-info endpoint serves team-scoped tokens (row-filtered, verified live), and a failed
|
||||
* fetch is console.error'd by fetchAvailableModels before the empty fallback here.
|
||||
*/
|
||||
export const fetchAvailableModelsForTeam = async (accessToken: string, teamId: string): Promise<ModelGroup[]> => {
|
||||
const [response, groups] = await Promise.all([
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue