Skip to main content

sim_lib_agent_runner_http/
lib.rs

1//! HTTP-backed model runners for SIM.
2
3#![forbid(unsafe_code)]
4#![deny(missing_docs)]
5#![allow(deprecated)]
6
7mod client;
8mod config;
9mod probe;
10mod provider;
11mod redact;
12mod runner;
13mod stream;
14
15pub use config::ProviderConfig;
16pub use probe::{
17    EndpointCandidate, HttpProbeTransport, ProbeHttpRequest, ProbeHttpResponse, ProbeStatus,
18    ProbeTransport, ProviderProbeReport, lemonade_candidates, parse_ollama_tags, probe_provider,
19};
20pub use provider::{
21    ProviderAuth, ProviderProfile, anthropic_profile, lemonade_profile, lm_studio_profile,
22    ollama_profile, openai_compatible_profile, openai_profile, provider_profiles,
23};
24pub use runner::HttpRunner;
25
26/// Cookbook recipes for this lib, embedded at build time.
27pub static RECIPES: sim_cookbook::EmbeddedDir =
28    include!(concat!(env!("OUT_DIR"), "/cookbook_recipes.rs"));