Update agent package: changelog, fix README type name, export proxy utilities

This commit is contained in:
Mario Zechner 2025-12-30 23:33:32 +01:00
parent 71cbae6371
commit 74637403b6
3 changed files with 21 additions and 50 deletions

View file

@ -318,10 +318,10 @@ const agent = new Agent({
For more control, use `agentLoop` and `agentLoopContinue` directly:
```typescript
import { agentLoop, agentLoopContinue, AgentLoopContext, AgentLoopConfig } from '@mariozechner/pi-agent-core';
import { agentLoop, agentLoopContinue, AgentContext, AgentLoopConfig } from '@mariozechner/pi-agent-core';
import { getModel, streamSimple } from '@mariozechner/pi-ai';
const context: AgentLoopContext = {
const context: AgentContext = {
systemPrompt: 'You are helpful.',
messages: [],
tools: [myTool]