fix: agent value passed to chat.params and chat.headers hooks was not a string (#19996)

pull/19807/merge
Aiden Cline 2026-03-30 11:32:27 -05:00 committed by GitHub
parent c2f78224ae
commit 9f3c2bd861
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ export namespace LLM {
"chat.params",
{
sessionID: input.sessionID,
agent: input.agent,
agent: input.agent.name,
model: input.model,
provider,
message: input.user,
@ -171,7 +171,7 @@ export namespace LLM {
"chat.headers",
{
sessionID: input.sessionID,
agent: input.agent,
agent: input.agent.name,
model: input.model,
provider,
message: input.user,