fix: invoice contract test

This commit is contained in:
johnyeo
2026-06-09 16:55:28 +01:00
parent f0196b455a
commit c2ca3e1c90
67 changed files with 2871 additions and 645 deletions

View File

@@ -1,3 +1,5 @@
import { leafChatAgentDefaults } from "../../../../src/lib/chatAgentConfig.js";
export type GenericMcpAgentDriverConfig = {
maxSteps?: number;
model?: string;
@@ -7,6 +9,6 @@ export const genericMcpAgentInstructions =
"Use Autumn MCP tools. Call getAgentRules before customer, billing, balance, entity, or plan work. Preview destructive writes before applying them.";
export const defaultGenericMcpAgentConfig = {
maxSteps: 6,
model: "anthropic/claude-sonnet-4-6",
maxSteps: leafChatAgentDefaults.maxSteps,
model: leafChatAgentDefaults.model,
} satisfies Required<GenericMcpAgentDriverConfig>;