Add GitHub token validation and improve TTS configuration

- Add git token validation endpoint and UI validation
- Improve TTS endpoint normalization and discovery
- Move shared types to workspace package
- Add better error handling for TTS API calls
- Support composite voices for Kokoro-style TTS
- Auto-fetch TTS models and voices on config change
This commit is contained in:
Chris Scott committed 2025-12-15 14:43:03 -05:00
1 parent 406ff8fd4a
commit c7de65290a
11 files changed
+410 -154

No files matched your search

+5
View File
@@ -117,4 +117,9 @@ export const settingsApi = {
const { data } = await axios.put(`${API_BASE_URL}/api/settings/agents-md`, { content })
return data
},
validateGitToken: async (gitToken: string): Promise<{ valid: boolean; message: string }> => {
const { data } = await axios.post(`${API_BASE_URL}/api/settings/validate-git-token`, { gitToken })
return data
},
}