KeiSeiKit-1.0/_primitives/_rust/kei-llm-ollama/src/lib.rs
Parfii-bot 0be354a920 KeiSeiKit-public — clean state
Single-commit clean baseline after security scrub of niche-tells,
project codenames, internal jargon, and contributor-email leaks.

Contents:
- 100 Rust crates (_primitives/_rust/)
- 37 agent manifests (_manifests/) + generated specs (_generated/)
- 67 user-invocable skills (skills/)
- 33 hooks (hooks/)
- Composition blocks (_blocks/)
- Documentation (docs/, README.md)
- TS adapter packages (_ts_packages/)
- Assembler (_assembler/)
- Roles (_roles/)
- Templates (_templates/)
- Forgejo CI (.forgejo/)

Author: Denis Parfionovich <info@greendragon.info>

License: see LICENSE.
2026-05-01 12:09:03 +08:00

23 lines
764 B
Rust

//! kei-llm-ollama — HTTP adapter for the Ollama daemon (`localhost:11434`).
//!
//! Wave 57 of the local-LLM stack. Ollama is the EXISTING tool — this crate
//! wraps its HTTP API (does not reinvent inference). See README in `docs/api.md`
//! upstream: <https://github.com/ollama/ollama/blob/main/docs/api.md>.
pub mod api;
pub mod cli;
pub mod client;
pub mod error;
pub mod handlers;
pub mod health;
pub mod http_io;
pub mod stream;
pub use api::{
build_options, ChatReq, ChatResp, GenerateReq, GenerateResp, Message, ModelEntry, PullResp,
TagsResp, VersionResp,
};
pub use client::{Client, DEFAULT_BASE_URL, DEFAULT_TIMEOUT};
pub use error::ApiError;
pub use health::{is_running, snapshot, HealthSnapshot};
pub use stream::{Chunk, NdjsonBuffer};