Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

chore: merge upstream/main into cindy/auto-hffm9o to resolve conflicts

Shinkua519dad8d208
diff --cc apps/desktop/src/main/maker-host/title-one-shot.ts
index 126daa9465,edf5772a54..c885f40ce2
--- a/apps/desktop/src/main/maker-host/title-one-shot.ts
+++ b/apps/desktop/src/main/maker-host/title-one-shot.ts
@@@ -373,8 -351,9 +379,9 @@@ async function fetchGatewayTitle
},
body: JSON.stringify({
model: modelId,
- max_tokens: TITLE_MAX_TOKENS,
+ max_tokens: maxTokens,
+ thinking: TITLE_GATEWAY_THINKING,
- messages: [{ role: 'user', content: prompt }],
+ messages,
}),
});
if (!res.ok) throw new Error(`gateway chat HTTP ${res.status}`);