Skip to main content

Crate sim_lib_agent_runner_http

Crate sim_lib_agent_runner_http 

Source
Expand description

HTTP-backed model runners for SIM.

Modules§

provider_profiles
Provider profile constructors.

Structs§

EndpointCandidate
Candidate endpoint and model-list path tried by provider probing.
HttpProbeTransport
Plain HTTP/HTTPS probe transport used by the agent-facing provider/probe function.
HttpRunner
HTTP-backed ModelRunner for OpenAI-compatible and Ollama endpoints.
ProbeHttpRequest
HTTP GET request issued by a provider probe.
ProbeHttpResponse
HTTP response returned by a provider probe transport.
ProviderConfig
Concrete HTTP runner configuration derived from a provider profile and an option map.
ProviderProbeReport
Provider health report returned by probe_provider.
ProviderProfile
Data profile for a concrete HTTP model provider.

Enums§

ProbeStatus
Provider health state reported by a probe.
ProviderAuth
Authentication shape used by a provider profile.

Statics§

RECIPES
Cookbook recipes for this lib, embedded at build time.

Traits§

ProbeTransport
Transport used by provider probes.

Functions§

anthropic_profile
Native Anthropic provider profile.
lemonade_candidates
Returns Lemonade model-list endpoint candidates in probe order.
lemonade_profile
Native Lemonade provider profile.
lm_studio_profile
Native LM Studio provider profile.
ollama_profile
Native Ollama provider profile.
openai_compatible_profile
Generic OpenAI-compatible fallback provider profile.
openai_profile
Native OpenAI provider profile.
parse_ollama_tags
Parses an Ollama /api/tags response into the provider model names it advertises.
probe_provider
Probes the configured provider’s model-list endpoint.