mirror of
https://github.com/esengine/DeepSeek-Reasonix.git
synced 2026-11-07 10:45:59 -10:00
fix(studio): batch-check models on the protocol being picked
The edit form can change a connection's protocol, so the shared batch hook is given the draft protocol rather than the stored entry's.
This commit is contained in:
1 parent
0a647e12ff
commit
4473c23aa5
1 file changed
+1
-1
@@ -244,7 +244,7 @@ export function EditConn({
|
||||
const { batch, testAll } = useModelBatch({
|
||||
port, picked, draftKey, setFacts, origin: "configured",
|
||||
blocked: checkingModel !== "" || busy !== "",
|
||||
request: { name: entry.name, baseUrl: baseUrl.trim(), apiKey: apiKey.trim(), kind: entry.kind },
|
||||
request: { name: entry.name, baseUrl: baseUrl.trim(), apiKey: apiKey.trim(), kind },
|
||||
});
|
||||
const testing = checkingModel !== "" || batch === "running";
|
||||
const [edited, setEdited] = useState(false);
|
||||
|
||||
Reference in new issue
Block a user