fix(plugin): verify event hook compatibility with v1.4.0

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-04-08 13:08:03 +09:00
parent e52dd340c6
commit 78e6d780eb
15 changed files with 383 additions and 28 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ export function createChatParamsHandler(args: {
output.topP = storedPromptParams.topP
}
if (storedPromptParams.maxOutputTokens !== undefined) {
output.maxOutputTokens = storedPromptParams.maxOutputTokens
(output as Record<string, unknown>).maxOutputTokens = storedPromptParams.maxOutputTokens
}
if (storedPromptParams.options) {
output.options = {