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

This commit is contained in:
Aiden Cline
2026-03-29 23:46:50 -05:00
parent 6926fe1c74
commit ea34bd7146
+2 -2
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,