Fix stale AgentProfile trait signature in README

The capabilities() method was removed from the trait but the README
still listed it with an incorrect return type.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-23 12:42:09 -04:00
parent 0897a917ec
commit 0c649ea482
No known key found for this signature in database

View file

@ -68,9 +68,7 @@ pub trait AgentProfile: Send + Sync {
project_docs: &[String],
user_instructions: Option<&str>,
) -> String;
fn capabilities(&self) -> AgentProfile;
fn knowledge_cutoff(&self) -> &str;
// ... default methods for tools(), provider_options(), supports_*()
// ... default methods for tools(), knowledge_cutoff(), context_window_size()
}
```