Add lib target to poc-agent, make poc-memory depend on it
Split poc-agent into lib + bin so its API client, types, and tool dispatch can be imported by poc-memory. This is the foundation for replacing claude CLI subprocess calls with direct API calls to vllm/OpenAI-compatible endpoints. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
57fcfb472a
commit
55326a1c47
4 changed files with 20 additions and 4 deletions
|
|
@ -4,6 +4,14 @@ version.workspace = true
|
|||
edition = "2024"
|
||||
description = "Substrate-independent AI agent framework"
|
||||
|
||||
[lib]
|
||||
name = "poc_agent"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "poc-agent"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue