Releases: Nolpak14/agorio
Releases · Nolpak14/agorio
v0.2.0
What's New
LLM Adapters
- Claude (Anthropic) —
ClaudeAdapterwith native function calling, tool_use/tool_result message format, consecutive tool result merging (#7) - OpenAI (GPT-4o) —
OpenAIAdapterwith native function calling, function tool format, tool_call_id resolution (#8)
All three adapters (Gemini, Claude, OpenAI) are now available and interchangeable:
import { ShoppingAgent, GeminiAdapter, ClaudeAdapter, OpenAIAdapter } from '@agorio/sdk';
const agent = new ShoppingAgent({
llm: new ClaudeAdapter({ apiKey: process.env.ANTHROPIC_API_KEY }),
// or: new OpenAIAdapter({ apiKey: process.env.OPENAI_API_KEY }),
// or: new GeminiAdapter({ apiKey: process.env.GEMINI_API_KEY }),
});Testing
- 73 tests (up from 37) — 18 new tests per adapter