Feat : tts
This commit is contained in:
1 parent
39545cf4c8
commit
3c96e8d6d1
40 files changed
+1896
-147
No files matched your search
@@ -157,7 +157,7 @@ export default function ModelsCard({ providerId, kindFilter }) {
|
||||
const res = await fetch("/api/models/test", {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ model: `${providerAlias}/${modelId}` }),
|
||||
body: JSON.stringify({ model: `${providerAlias}/${modelId}`, kind: kindFilter }),
|
||||
});
|
||||
const data = await res.json();
|
||||
setModelTestResults((prev) => ({ ...prev, [modelId]: data.ok ? "ok" : "error" }));
|
||||
|
||||
Reference in new issue
Block a user