- Introduce `owlen-providers` crate with Cargo.toml and lib entry. - Expose `OllamaClient` handling HTTP communication, health checks, model listing, and streaming generation. - Implement request building, endpoint handling, and error mapping. - Parse Ollama tags response and generation stream lines into core types. - Add shared module re-exports for easy integration with the provider layer.
21 lines
603 B
TOML
21 lines
603 B
TOML
[package]
|
|
name = "owlen-providers"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
description = "Provider implementations for OWLEN"
|
|
|
|
[dependencies]
|
|
owlen-core = { path = "../owlen-core" }
|
|
anyhow = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
futures = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tokio = { workspace = true }
|
|
tokio-stream = { workspace = true }
|
|
reqwest = { package = "reqwest", version = "0.11", features = ["json", "stream"] }
|