You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defer model config validation from init time to AI call time
SSO users may receive their model from server-managed config after login,
so resolveModelConfig() should not throw at Agent.create() time. Move the
ConfigurationError for missing model/fastModel to aiService's callAgent(),
compactMessages(), processWebContent(), and btw() functions where the
model is actually needed.
- Make model and fastModel optional in ModelConfig interface
- Remove throws from resolveModelConfig(), return partial config instead
- Guard telemetry session_start logging against missing model
- Add || '' fallbacks for model display in useChat.tsx and acp/agent.ts
- Remove unused ttftMs/ttltMs tracking code in aiManager.ts
0 commit comments