fix(channels): honor reasoning defaults in previews (#71817) (thanks @anagnorisis2peripeteia)

This commit is contained in:
Ayaan Zaidi
2026-05-08 18:09:15 +05:30
parent 5c589673ec
commit 30e079dd89
9 changed files with 153 additions and 10 deletions

View File

@@ -1357,6 +1357,8 @@ export async function handleFeishuMessage(params: {
},
};
const allowReasoningPreview = resolveFeishuReasoningPreviewEnabled({
cfg,
agentId,
storePath: agentStorePath,
sessionKey: agentSessionKey,
});
@@ -1532,6 +1534,8 @@ export async function handleFeishuMessage(params: {
agentId: route.agentId,
});
const allowReasoningPreview = resolveFeishuReasoningPreviewEnabled({
cfg,
agentId: route.agentId,
storePath,
sessionKey: route.sessionKey,
});