mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
c91225629d
Two related fixes for --provider-url handling: 1. Don't restore custom/* models from preferences without --provider-url - When user runs with --provider-url, model defaults to custom/custom - If they switch models, custom/custom gets persisted to preferences - On next run without --provider-url, restoring custom/custom fails - Now we skip restoring custom/* models when no --provider-url is provided 2. Auto-prefix bare model names with custom/ when --provider-url is set - Users often provide just the model name (e.g., qwen3.5-35b-a3b) - This failed with 'invalid model format' error - Now auto-prefixed with custom/ for OpenAI-compatible endpoints