style: tidy imports and formatting

This commit is contained in:
Peter Steinberger
2026-01-03 12:35:09 +00:00
parent 933bee220f
commit 72c0aa63fb
6 changed files with 15 additions and 9 deletions

View File

@@ -164,8 +164,7 @@ export function resolveThinkingDefault(params: {
const configured = params.cfg.agent?.thinkingDefault;
if (configured) return configured;
const candidate = params.catalog?.find(
(entry) =>
entry.provider === params.provider && entry.id === params.model,
(entry) => entry.provider === params.provider && entry.id === params.model,
);
if (candidate?.reasoning) return "low";
return "off";