Replace conversationID string parameter with AgentRunOptions struct across Run, RunAsync, and Stream methods to support extensible per-run options.
Breaking Change
// Before
agent.Run(ctx, "conv-123")
// After
agent.Run(ctx, AgentRunOptions{
ConversationOptions: ConversationOptions{ID: "conv-123"},
})
Changes
- Replace
conversationID string with AgentRunOptions in Run, RunAsync, Stream
- Add
ConversationOptions now
- Add more options like
MemoryOptionsfor longterm memory etc..
Docs
- Update API reference
- Update all examples with new signature
- Update README
Release
0.2.0
Replace
conversationID stringparameter withAgentRunOptionsstruct acrossRun,RunAsync, andStreammethods to support extensible per-run options.Breaking Change
Changes
conversationID stringwithAgentRunOptionsinRun,RunAsync,StreamConversationOptionsnowMemoryOptionsfor longterm memory etc..Docs
Release
0.2.0