Repository navigation
0.50.0
[0.50.0] - 2026-11-24
Phase D1 routing, reasoning parameter, response observability, and caching polish release: fixes custom role_tag routing and failover isolation (N10), adds an "object" (JSON) LLM parameter type for chat_template_kwargs and nested provider options (N11), captures OpenRouter/nano-GPT reasoning and empty-content/Navigator-skip diagnostics in Debug (N12), adds a per-cantrip card_edits_standing toggle for Cache-Friendly Mode (N13), and fixes uncompilable stored regex verification reporting.
Fixed
- Custom
role_tagendpoints now match Passenger and Map-stage tags and isolate failover chains (N10).resolve_endpoints_by_tagand_build_failover_chaininapp/services/routing.pypreviously comparedEndpoint.role_tagonly, ignoringEndpoint.custom_tagwhenrole_tag == "custom". Both now match oncustom_tag(strictly user-scoped per Rule 23), keeping different custom tags on separate failover chains, andpassenger.py/map_pipeline.pynow emit apassenger_tag_fallback/map_stage_tag_fallbackDebug capture when a requested tag matches no enabled endpoint and falls back to the default chain. - OpenRouter / nano-GPT
reasoningfield extraction and empty-content Debug diagnostics (N12).upstream.pyandresponse_pipeline.pynow readreasoningalongsidereasoning_contentandthinking(both streaming and non-streaming). When a status 200 response yields emptycontent,_save_debug_exchangenow recordsempty_content_diagnostics(finish_reason,choice_keys,message_keys, and a truncatedraw_snippet) onllm_response, andfinalize_responseemits anavigator_cantrips_skippedDebug capture explaining why response-side cantrips did not run. - Uncompilable stored
regex_patternrules with no judge endpoint now reporterrored=True. Inapp/services/verification.py,check_responsenow tracks rules whoseregex_patternraisedre.errorduring pre-check so the no-candidates fallback records an error note instead of reporting a clean pass.
Added
"object"(JSON) LLM parameter type (N11).PARAM_TYPESinapp/services/llm_params.pyandParameterEditor.sveltenow support"object", validated as a JSON object at save time (422 on invalid JSON or non-object values) and applied as a nested dict inapply_to_body/ LiteLLMextra_body— enabling vLLM/Featherlesschat_template_kwargs(e.g.{"thinking": true}for DeepSeek V4,{"enable_thinking": false}for GLM 5.x) and nested Anthropicthinkingconfigs.- Per-cantrip
card_edits_standingtoggle for Cache-Friendly Mode (N13). Cantrips now exposecard_edits_standing(defaultfalse) in the Cantrips UI, API, export/import, and Assistant tools. Whencache_friendly_modeis enabled, a standing cantrip's appends topersonality,scenario, orexample_dialogsstay inmessages[0](the cached system prompt) while dynamic cantrips' appends still redirect touser_tail— accurately in both default and manual pipeline ordering regardless of cantrip order.
Schema
074_cantrip_card_edits_standing: addscard_edits_standing BOOLEAN NOT NULL DEFAULT FALSEtocantrips.