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

This commit is contained in:
Aiden Cline
2026-03-30 11:32:27 -05:00
committed by GitHub
parent c2f78224ae
commit 9f3c2bd861

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,