fix: skip conversation model sync for default conversation (#1190)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
cthomas
2026-02-27 10:59:20 -08:00
committed by GitHub
parent e4529e67e7
commit 74687a063f

View File

@@ -3218,6 +3218,13 @@ export default function App({
};
const syncConversationModel = async () => {
// "default" is a virtual sentinel for the agent's primary message history,
// not a real conversation object — skip the API call.
if (conversationId === "default") {
applyAgentModelLocally();
return;
}
try {
const client = await getClient();
const conversation =