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
fix(bailian): enable temperature for all models, fail-fast on handler errors, and fix custom model detection (#420)
- Enable temperature support for all models including unmatched API-fetched
ones by changing supportsTemperature from false to true in both the handler
fallback (src/api/providers/bailian.ts) and the fetcher minimal metadata
(src/api/providers/fetchers/bailian.ts). Temperature remains undefined by
default and is only sent when the user explicitly enables it.
- Fail fast in Task constructor when buildApiHandler throws, replacing the
previous silent fallback that set this.api to undefined
(src/core/task/Task.ts). Update the corresponding test to expect a throw
rather than a degraded Task instance (src/core/task/__tests__/Task.spec.ts).
- Add matchesPresetLocally() in Bailian settings UI to correctly recognize
versioned/named-space API-returned model IDs as preset models, preventing
stale custom model overrides from leaking into preset-model usage
(webview-ui/src/components/settings/providers/Bailian.tsx).
0 commit comments