On dual-stack hosts (notably macOS), `localhost` resolves to both ::1 and 127.0.0.1 with IPv6 tried first. Local LLM servers (Ollama, vLLM, LM Studio) installed via the standard scripts bind IPv4 only, so the IPv6 connection attempt fails immediately and Happy Eyeballs fallback to IPv4 isn't reliably triggered for connection-refused errors, producing spurious "Configured local provider offline" warnings in the daemon even when the server is up and reachable via curl. Companion to librefang/librefang#3112 which fixes the hardcoded URL constants in the main repo. After both land, existing installs pick up the fix on their next registry sync.
23 lines
532 B
TOML
23 lines
532 B
TOML
# LM Studio — https://lmstudio.ai
|
|
# Models: 1 (generic entry; additional models discovered dynamically at runtime)
|
|
|
|
[provider]
|
|
id = "lmstudio"
|
|
display_name = "LM Studio"
|
|
api_key_env = "LMSTUDIO_API_KEY"
|
|
base_url = "http://127.0.0.1:1234/v1"
|
|
key_required = false
|
|
|
|
[[models]]
|
|
id = "lmstudio-local"
|
|
display_name = "LM Studio Local Model"
|
|
tier = "local"
|
|
context_window = 32768
|
|
max_output_tokens = 4096
|
|
input_cost_per_m = 0.0
|
|
output_cost_per_m = 0.0
|
|
supports_tools = true
|
|
supports_vision = false
|
|
supports_streaming = true
|
|
aliases = []
|