One-shot invocation: jarvis-cli ask "..." reads GROQ_TOKEN, calls LlmClient::complete and prints the reply to stdout. Exits 2 when the env var is missing, 1 on API/HTTP failure. Also available as an 'ask' command inside the interactive REPL.
14 lines
No EOL
416 B
TOML
14 lines
No EOL
416 B
TOML
[package]
|
|
name = "jarvis-cli"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
jarvis-core = { path = "../jarvis-core", default-features = false, features = ["intent", "llm"]}
|
|
tokio = { version = "1", features = ["rt-multi-thread", "sync", "macros"] }
|
|
log.workspace = true
|
|
env_logger = "0.11"
|
|
parking_lot.workspace = true |