Acceptance Criteria:\n- Local provider chat succeeds and records usage\n- Cloud tool-call scenario exercises web.search and usage tracking\n- Unauthorized and rate-limited cloud responses surface errors without recording usage\n\nTest Notes:\n- CARGO_NET_OFFLINE=true cargo test -p owlen-core --tests ollama_wiremock
53 lines
1.5 KiB
TOML
53 lines
1.5 KiB
TOML
[package]
|
|
name = "owlen-core"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
description = "Core traits and types for OWLEN LLM client"
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
log = { workspace = true }
|
|
regex = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true }
|
|
unicode-segmentation = "1.11"
|
|
unicode-width = "0.1"
|
|
uuid = { workspace = true }
|
|
textwrap = { workspace = true }
|
|
futures = { workspace = true }
|
|
futures-util = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
toml = { workspace = true }
|
|
shellexpand = { workspace = true }
|
|
dirs = { workspace = true }
|
|
ratatui = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
jsonschema = { workspace = true }
|
|
which = { workspace = true }
|
|
nix = { workspace = true }
|
|
aes-gcm = { workspace = true }
|
|
ring = { workspace = true }
|
|
keyring = { workspace = true }
|
|
chrono = { workspace = true }
|
|
crossterm = { workspace = true }
|
|
urlencoding = { workspace = true }
|
|
rpassword = { workspace = true }
|
|
sqlx = { workspace = true }
|
|
reqwest = { workspace = true, features = ["default"] }
|
|
path-clean = "1.0"
|
|
tokio-stream = { workspace = true }
|
|
tokio-tungstenite = "0.21"
|
|
tungstenite = "0.21"
|
|
ollama-rs = { version = "0.3", features = ["stream", "headers"] }
|
|
|
|
[dev-dependencies]
|
|
tokio-test = { workspace = true }
|
|
httpmock = "0.7"
|
|
wiremock = "0.6"
|