docs(ui): note team-token access and upstream logging on the capability join

This commit is contained in:
Tin Chi Lo 2026-08-21 10:26:48 -07:00
parent c7512d5021
commit dd8219366a

View file

@ -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([