fix(grok): restore base URL resolution and operator settings wiring

Honor account GetGrokBaseURLOr policy for official vs custom endpoints,
and wire settings resolution used by responses/chat URL builders.
This commit is contained in:
IanShaw027 committed 2026-08-08 01:07:19 +08:00
1 parent 6d632eec45
commit 68faeac837
20 files changed
+329 -29

No files matched your search

+2
View File
@@ -590,6 +590,7 @@ export interface SystemSettings {
fallback_model_antigravity: string;
grok_default_text_model: string;
grok_cross_client_model_map_enabled: boolean;
grok_default_base_url_mode: string;
// Per-platform account auto-pause thresholds (100 = disabled)
account_scheduling_thresholds: AccountSchedulingThresholdsMap;
@@ -911,6 +912,7 @@ export interface UpdateSettingsRequest {
fallback_model_antigravity?: string;
grok_default_text_model?: string;
grok_cross_client_model_map_enabled?: boolean;
grok_default_base_url_mode?: string;
account_scheduling_thresholds?: AccountSchedulingThresholdsMap;
enable_identity_patch?: boolean;
identity_patch_prompt?: string;