UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

30 lines (29 loc) • 1.5 kB
export const FABLE_5_COMPAT = { thinkingMode: "adaptive", effortLevels: ["low", "medium", "high", "xhigh", "max"], supportsTemperature: false, }; export const FABLE_5_PROMPT_GUIDANCE = [ "Your final message of a turn is the only text the caller is guaranteed to read. Put every conclusion, answer, and deliverable in it — lead with the outcome, then supporting detail. Never leave a result only in an intermediate message or in your reasoning.", "When operating autonomously: before ending your turn, check that the task is actually complete (not just planned); before any state-changing action, re-verify that the evidence supports that specific action rather than pattern-matching a familiar case.", "When calling tools, provide exactly ONE complete JSON value per parameter — never concatenate multiple values, never truncate, never wrap a value in commentary.", ]; export function fable5Model(overrides = {}) { return { id: "claude-fable-5", name: "Claude Fable 5", api: "anthropic-messages", provider: "anthropic", baseUrl: "https://api.anthropic.com", reasoning: true, defaultThinking: "high", input: ["text", "image"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 1_000_000, maxTokens: 64_000, charsPerToken: 3, compat: { ...FABLE_5_COMPAT }, promptGuidance: [...FABLE_5_PROMPT_GUIDANCE], ...overrides, }; }