teknium1
f6f6befbcf
fix(fallback): a bare llama.cpp alias resolves only to the live managed server
...
Completes the managed-endpoint rung for every caller that resolves a bare
llamacpp / llama.cpp / llama-cpp alias outside the main ladder:
- The rung moves from _resolve_custom_branch to the resolve_provider_client
entry and to _get_cached_client, via agent/auxiliary_local_runtime.py.
The `main_runtime is None` gate is gone: the cached auxiliary path always
passes a normalized dict, so the rung never ran there, and a task pinned to
llamacpp inherited a foreign main runtime's URL instead.
- No running server now means (None, None) — the same answer the main ladder's
_resolve_llamacpp_runtime gives — instead of continuing into
_try_custom_endpoint / _resolve_api_key_provider, which posted the local GGUF
slug (and, for compression, the conversation) to whichever cloud provider held
a key (#119227 ) or to the primary's own endpoint. OPENAI_BASE_URL is not
consulted either: the alias table entry (b7e0d715be ) exists for explicit
base_url lanes, and the main ladder never reads it for a bare alias.
- The cached client keys on the live endpoint (base_url + key), read at call
time, so a server restarted on a new port/key gets a fresh client and a
stopped one resolves to nothing instead of a stale client.
- The endpoint is resolved with the calling profile's config (load_config() at
call time), matching the main ladder; a configured provider entry named like
the alias still wins.
- Vision keeps the raw provider name for its final resolve so the alias is not
flattened to bare `custom` first.
- The aux "unavailable" message names the stopped local server instead of an
invented LLAMACPP_API_KEY.
Co-authored-by: Gille <4317663+helix4u@users.noreply.github.com >
2026-10-02 16:44:56 -07:00
..
2026-09-29 03:28:46 +05:30
2026-09-28 10:21:41 -07:00
2026-10-02 01:18:03 +05:30
2026-09-28 10:21:41 -07:00
2026-09-29 22:57:48 -04:00
2026-10-02 18:35:38 -05:00
2026-09-15 04:56:01 -07:00
2026-09-25 21:27:06 +05:30
2026-09-28 12:53:29 -05:00
2026-10-02 04:09:57 -07:00
2026-10-01 12:08:13 -07:00
2026-09-28 14:16:18 -07:00
2026-09-28 10:21:41 -07:00
2026-09-21 13:18:11 -04:00
2026-10-02 00:18:00 +05:30
2026-10-02 00:18:00 +05:30
2026-10-02 00:18:00 +05:30
2026-09-24 22:26:23 +05:30
2026-09-24 22:25:06 +05:30
2026-09-29 23:54:34 +05:30
2026-09-17 08:53:15 -07:00
2026-10-02 16:44:56 -07:00
2026-09-17 08:45:46 -07:00
2026-09-17 09:07:51 -07:00
2026-09-22 01:19:12 -07:00
2026-10-02 16:44:56 -07:00
2026-09-23 15:13:16 -07:00
2026-09-17 09:11:38 -07:00
2026-10-02 16:44:56 -07:00
2026-09-19 09:28:45 -07:00
2026-09-21 19:08:19 -04:00
2026-09-28 10:21:41 -07:00
2026-09-30 22:59:48 -05:00
2026-09-28 10:21:41 -07:00
2026-09-23 18:29:35 -05:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-20 14:29:39 -07:00
2026-10-02 00:53:19 +05:30
2026-09-24 15:58:19 +05:30
2026-09-19 09:53:48 -07:00
2026-09-24 15:58:19 +05:30
2026-09-25 13:49:31 -05:00
2026-09-23 11:41:01 -04:00
2026-10-01 12:08:13 -07:00
2026-09-19 20:44:24 -07:00
2026-10-01 23:33:52 +05:30
2026-10-02 01:24:41 +05:30
2026-09-23 18:52:49 -05:00
2026-09-28 12:43:03 -07:00
2026-10-02 00:50:20 +05:30
2026-09-28 14:16:18 -07:00
2026-09-20 15:50:49 -07:00
2026-10-02 00:18:00 +05:30
2026-09-26 23:49:25 +05:30
2026-09-28 11:29:49 -05:00
2026-09-19 10:28:34 -07:00
2026-09-27 20:45:56 +05:30
2026-09-24 11:57:56 -05:00
2026-09-24 11:57:56 -05:00
2026-09-23 23:06:15 +05:30
2026-10-02 00:18:00 +05:30
2026-10-02 00:50:20 +05:30
2026-09-26 11:22:06 -07:00
2026-09-24 15:44:48 +05:30
2026-09-19 09:37:23 -07:00
2026-09-19 21:24:05 -07:00
2026-10-02 00:03:01 +05:30
2026-09-28 10:21:41 -07:00
2026-09-26 17:59:52 -05:00
2026-09-27 00:04:22 +05:30
2026-09-28 12:43:03 -07:00
2026-09-16 17:48:48 -07:00
2026-09-29 18:33:44 +05:30
2026-09-24 22:36:08 +05:30
2026-09-29 19:31:49 -05:00
2026-09-28 10:21:41 -07:00
2026-09-20 17:00:43 -07:00
2026-09-29 23:54:34 +05:30
2026-09-28 10:21:41 -07:00
2026-09-24 02:23:44 -04:00
2026-09-14 06:44:54 -07:00
2026-09-24 00:30:45 +00:00
2026-09-28 14:16:18 -07:00
2026-09-28 14:16:18 -07:00
2026-09-28 14:16:18 -07:00
2026-09-17 13:52:36 +05:30
2026-10-02 01:18:03 +05:30
2026-09-28 10:21:41 -07:00
2026-09-20 00:34:46 -04:00
2026-09-12 01:35:05 -07:00
2026-09-29 22:07:30 +05:30
2026-09-23 18:29:35 -05:00
2026-09-27 02:02:41 +05:30
2026-09-16 17:48:17 -07:00
2026-10-01 09:26:00 -04:00
2026-09-30 22:30:35 -04:00
2026-09-28 10:21:41 -07:00
2026-09-30 23:10:24 -05:00
2026-09-24 08:51:52 -04:00
2026-09-23 18:26:45 -07:00
2026-09-28 12:43:03 -07:00
2026-09-23 01:06:32 -07:00
2026-09-29 19:42:46 -05:00
2026-10-02 12:29:16 -04:00
2026-09-29 04:15:21 +05:30
2026-09-18 20:56:35 -07:00
2026-09-23 15:26:34 -04:00
2026-10-02 00:18:00 +05:30
2026-09-23 15:26:34 -04:00
2026-09-21 13:14:22 -07:00
2026-10-01 16:18:23 +05:30
2026-09-18 01:43:35 +05:30
2026-09-28 10:21:41 -07:00
2026-09-27 01:55:21 +05:30
2026-09-19 09:21:18 -07:00
2026-09-19 10:56:19 -07:00
2026-09-28 10:21:41 -07:00
2026-09-16 11:06:06 -07:00
2026-09-22 16:15:34 +05:30
2026-09-23 11:41:01 -04:00
2026-09-18 09:56:28 -07:00
2026-10-01 11:45:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-27 00:38:34 +05:30
2026-09-23 21:28:38 +05:30
2026-10-02 01:18:03 +05:30
2026-09-15 06:16:38 -07:00
2026-09-26 17:59:52 -05:00
2026-09-29 23:25:26 +05:30
2026-09-26 22:21:47 +05:30
2026-09-27 02:48:48 -05:00
2026-09-25 21:28:32 +05:30
2026-10-02 00:52:27 +05:30
2026-10-02 16:29:18 -05:00
2026-09-29 12:16:43 -04:00
2026-09-28 10:21:41 -07:00
2026-10-02 00:53:19 +05:30
2026-09-13 19:23:09 +05:30
2026-09-19 09:49:39 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 11:29:49 -05:00
2026-09-27 01:10:56 +05:30
2026-09-15 19:23:53 -07:00
2026-09-29 14:53:00 -05:00
2026-09-29 22:57:48 -04:00
2026-09-19 10:38:30 -07:00
2026-10-02 13:50:23 -04:00
2026-09-29 04:15:21 +05:30
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-29 18:05:05 -05:00
2026-09-26 23:49:25 +05:30
2026-09-28 10:21:41 -07:00
2026-09-21 18:42:05 -04:00
2026-10-02 04:09:57 -07:00
2026-09-24 22:41:10 +05:30
2026-09-26 06:10:53 +05:30
2026-09-29 14:53:00 -05:00
2026-09-27 02:22:23 +05:30
2026-10-01 11:45:41 -07:00
2026-10-01 00:42:30 -05:00
2026-09-28 10:21:41 -07:00
2026-09-24 22:41:10 +05:30
2026-09-15 04:12:13 -07:00
2026-09-26 20:40:40 -05:00
2026-10-01 23:50:31 -07:00
2026-10-02 00:50:20 +05:30
2026-10-01 13:23:12 -07:00
2026-09-28 12:43:03 -07:00
2026-09-18 10:03:04 -07:00
2026-09-21 19:08:19 -04:00
2026-09-12 08:25:14 -07:00
2026-10-02 01:04:12 +05:30
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-10-01 03:27:39 -05:00
2026-09-24 22:33:58 +05:30
2026-09-28 12:43:03 -07:00
2026-09-24 22:27:18 +05:30
2026-10-02 04:09:57 -07:00
2026-09-24 22:27:18 +05:30
2026-09-28 14:16:18 -07:00
2026-09-29 02:47:39 +05:30
2026-09-29 15:57:52 -05:00
2026-09-26 06:10:53 +05:30
2026-09-24 22:32:05 +05:30
2026-09-28 12:43:03 -07:00
2026-10-02 00:50:20 +05:30
2026-10-02 13:50:23 -04:00
2026-09-18 01:43:35 +05:30
2026-09-28 12:43:03 -07:00
2026-09-18 01:43:35 +05:30
2026-09-23 05:36:34 -07:00
2026-09-19 12:38:55 -07:00
2026-10-01 12:08:13 -07:00
2026-10-02 00:18:00 +05:30
2026-09-28 12:43:03 -07:00
2026-09-28 12:43:03 -07:00
2026-09-28 10:21:41 -07:00
2026-09-24 22:41:10 +05:30
2026-10-02 12:29:16 -04:00
2026-10-02 12:29:16 -04:00
2026-10-02 00:53:19 +05:30
2026-09-29 23:54:34 +05:30
2026-09-26 17:15:30 -05:00
2026-10-01 16:40:58 +05:30
2026-09-20 10:21:52 -07:00
2026-09-20 10:23:04 -07:00
2026-09-26 23:49:25 +05:30
2026-09-20 11:47:06 -04:00
2026-10-02 01:18:03 +05:30
2026-09-28 10:21:41 -07:00
2026-09-15 04:48:20 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00