From 6886bfe88d5039e6fe04cbf82905e2448084cae6 Mon Sep 17 00:00:00 2001 From: ajspig Date: Tue, 31 Mar 2026 15:10:09 -0400 Subject: [PATCH] fix: adding assistantName config --- mcp/src/config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mcp/src/config.ts b/mcp/src/config.ts index 68380bfa..bd440343 100644 --- a/mcp/src/config.ts +++ b/mcp/src/config.ts @@ -3,6 +3,7 @@ import { Honcho } from "@honcho-ai/sdk"; export interface HonchoConfig { apiKey: string; userName: string; + assistantName: string; baseUrl: string; workspaceId: string; } @@ -35,6 +36,7 @@ export function parseConfig(request: Request): HonchoConfig { return { apiKey, userName, + assistantName: request.headers.get("X-Honcho-Assistant-Name")?.trim() || "Assistant", baseUrl: "https://api.honcho.dev", workspaceId: request.headers.get("X-Honcho-Workspace-ID")?.trim() || "default", };