@@ -1,3 +1,10 @@
1+// Package agent is the core orchestration layer for Crush AI agents.
3+// It provides session-based AI agent functionality for managing
4+// conversations, tool execution, and message handling. It coordinates
5+// interactions between language models, messages, sessions, and tools while
6+// handling features like automatic summarization, queuing, and token
1package agent
8package agent
@@ -131,7 +138,7 @@ func (a *sessionAgent) Run(ctx context.Context, call SessionAgentCall) (*fantasy
133 if len(a.tools) > 0 {
140 if len(a.tools) > 0 {
134− // Add anthropic caching to the last tool.
141+ // Add Anthropic caching to the last tool.
135 a.tools[len(a.tools)-1].SetProviderOptions(a.getCacheControlOptions())
142 a.tools[len(a.tools)-1].SetProviderOptions(a.getCacheControlOptions())