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 model_params;
10mod probe;
11mod provider;
12mod redact;
13mod runner;
14mod stream;
15
16pub use config::ProviderConfig;
17pub use probe::{
18    EndpointCandidate, HttpProbeTransport, ProbeHttpRequest, ProbeHttpResponse, ProbeStatus,
19    ProbeTransport, ProviderProbeReport, lemonade_candidates, parse_ollama_tags, probe_provider,
20};
21pub use provider::{
22    ProviderAuth, ProviderProfile, anthropic_profile, lemonade_profile, lm_studio_profile,
23    ollama_profile, openai_compatible_profile, openai_profile, provider_profiles,
24};
25pub use runner::HttpRunner;
26
27/// Cookbook recipes for this lib, embedded at build time.
28pub static RECIPES: sim_cookbook::EmbeddedDir =
29    include!(concat!(env!("OUT_DIR"), "/cookbook_recipes.rs"));