mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
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:
1 parent
406ff8fd4a
commit
c7de65290a
11 files changed
+410
-154
No files matched your search
@@ -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
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user