Skip to content

Commit b98ecff

Browse files
TianyiPengclaude
andauthored
Fix mkdocs URLs and update blog post to current API (#41)
* Restructure Quick Start: lead with code + output, then explain Show the ModelSelector call and results table first, then the conceptual loop, then break down the four elements (agent, dataset, eval function, models) separately. Add LLM-as-judge note. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Add benchmark results table to Use Cases section Show 20-100x cost savings across BFCL, HotpotQA, and MathQA benchmarks with link to blog post. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Fix mkdocs URLs and update blog post to current API - Point site_url/repo_url to AgentOptimizer org instead of TianyiPeng - Update blog post code example: agent_fn → agent, use ModelSelector Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9a8ab46 commit b98ecff

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/blog/posts/technical-deep-dive.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ pip install agentopt
198198
```
199199

200200
```python
201-
from agentopt import ArmEliminationModelSelector
201+
from agentopt import ModelSelector
202202

203-
selector = ArmEliminationModelSelector(
204-
agent_fn=your_agent_factory,
203+
selector = ModelSelector(
204+
agent=YourAgent,
205205
models={"planner": ["gpt-4o", "claude-sonnet-4-6"], "solver": ["gpt-4o-mini", "claude-haiku-4-5"]},
206206
eval_fn=lambda expected, actual: 1.0 if expected in str(actual) else 0.0,
207207
dataset=your_eval_dataset,

mkdocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
site_name: AgentOpt
2-
site_url: https://tianyipeng.github.io/agentopt
2+
site_url: https://agentoptimizer.github.io/agentopt
33
site_description: Find the right LLM models for your AI agents
4-
repo_url: https://github.com/TianyiPeng/agentopt
5-
repo_name: TianyiPeng/agentopt
4+
repo_url: https://github.com/AgentOptimizer/agentopt
5+
repo_name: AgentOptimizer/agentopt
66

77
theme:
88
name: material

0 commit comments

Comments
 (0)