mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
feat(frontend): improve mobile voice controls and TTS playback
This commit is contained in:
1 parent
dad1a608a1
commit
29b9d028c7
14 files changed
+1434
-142
No files matched your search
@@ -278,11 +278,11 @@ export const useSendPrompt = (opcodeUrl: string | null | undefined, directory?:
|
||||
};
|
||||
|
||||
if (model) {
|
||||
const [providerID, ...rest] = model.split("/");
|
||||
if (providerID && rest.length > 0) {
|
||||
const [providerID, modelID] = model.split("/");
|
||||
if (providerID && modelID) {
|
||||
requestData.model = {
|
||||
providerID,
|
||||
modelID: rest.join("/"),
|
||||
modelID,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user