Merge branch 'main', remote-tracking branch 'origin' into litellm_table_patch

This commit is contained in:
yuneng-jiang 2026-03-23 23:35:18 -07:00
commit a0da595538
2 changed files with 3 additions and 4 deletions

View file

@ -206,7 +206,7 @@ router_settings:
| Name | Type | Description |
|------|------|-------------|
| completion_model | string | The default model to use for completions when `model` is not specified in the request |
| completion_model | string | The model to use for all completions, overriding any `model` specified in the request |
| disable_spend_logs | boolean | If true, turns off writing each transaction to the database |
| disable_spend_updates | boolean | If true, turns off all spend updates to the DB. Including key/user/team spend updates. |
| disable_master_key_return | boolean | If true, turns off returning master key on UI. (checked on '/user/info' endpoint) |

View file

@ -7288,12 +7288,11 @@ export const getTeamPermissionsCall = async (accessToken: string, teamId: string
if (!response.ok) {
const errorData = await response.json();
const errorMessage = deriveErrorMessage(errorData);
handleError(errorMessage);
throw new Error(errorMessage);
console.error("Available permissions fetch failed:", errorMessage);
return { all_available_permissions: [], team_member_permissions: [] };
}
const data = await response.json();
console.log("Team permissions response:", data);
return data;
} catch (error) {
console.error("Failed to get team permissions:", error);