Three bugs fixed: - Removed the useEffect that synced state from config prop on every re-render, which caused a race condition resetting model state after revalidatePath triggered a server re-render. - Reset selected model to a sensible default when switching providers, preventing stale model names from one provider appearing in another provider's model list (which made the select show the first option). - Model select FormData names already fixed in previous commit to match provider-specific field names (AI_MODEL_TAGS_OLLAMA etc). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
30 KiB
30 KiB