Fix API Settings sheet clipping and improve layout
- Remove hard-coded sheet width so content can size naturally
- Add padding and a sensible minimum width to APISupportSettingsView
- Make SecureField inputs expand horizontally to avoid text truncation
- Use SwiftUI’s @Environment(.dismiss) to close the sheet properly
- Keep existing bindings and persistence behavior intact
UI/UX:
- Prevents cut-off placeholders and clipped fields
- Improves readability and touch targets with consistent padding
- Updated App Icon for Dark & Light mode
Implement Grok and Gemini for inline code completion;
-
Wire up Grok (xAI) and Gemini (Google) API calls inside generateModelCompletion(...)
-
Grok: POST https://api.x.ai/v1/chat/completions with OpenAI-style messages
-
Gemini: POST v1beta/models/:generateContent with contents/parts payload
-
Reuse existing prompt and sanitizeCompletion(_:) to keep output concise
-
Respect missing/empty tokens by short‑circuiting to no-op
-
AIClientFactory: make switch exhaustive by adding
.anthropiccase (returns nil for now) -
Anthropic is handled directly in ContentView’s inline completion path
Full Changelog: v0.2.5-alpha...v0.2.6-alpha