Adds a standalone binary (src/bin/ai_agents_spike.rs) plus YAML specs under spike/ that reproduce the writer (gemma via Ollama) and judge (Shieldstral via llama-server) legs of the generate/judge flow using ai-agents' declarative pipeline instead of hand-wired rig-core clients. Both legs verified working individually against real local models. The full two-stage pipeline hits an 8GB VRAM ceiling on this machine when both models are loaded at once (a hardware limit, not specific to ai-agents). ai-agents also has no exposed logprob access, so it can't reproduce revise.rs's actual scoring mechanism as-is. See spike/NOTES.md for the full writeup and verdict. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
15 lines
395 B
TOML
15 lines
395 B
TOML
[package]
|
|
name = "doubleo7"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
ai-agents = "1.0.0"
|
|
anyhow = "1.0.104"
|
|
reqwest = "0.12"
|
|
rig-core = { git = "https://github.com/0xPlaygrounds/rig", branch = "main" }
|
|
serde = "1.0.229"
|
|
tokio = { version = "1.53.1", features = ["full"] }
|
|
toml = "1.1.4+spec-1.1.0"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
|