Fix Antigravity model list and enhance clipboard-guided handoff UX
This commit is contained in:
1 parent
0467eebf0e
commit
29ef28b7cf
4 files changed
+143
-42
No files matched your search
@@ -269,6 +269,24 @@ test("Development Handoff endpoint compiles full Spark spec and submits to Antig
|
||||
assert.equal(handoffData.handoff.model, "gpt-5.6-sol");
|
||||
assert.match(handoffData.handoff.deepLinkUrl, /^codex:\/\/threads\/new/);
|
||||
assert.equal(handoffData.idea.status, "building");
|
||||
|
||||
// Verify Antigravity handoff with updated models (Gemini 3.8 Flash default)
|
||||
const agyRes = await fetch(`${baseUrl}/api/ideas/1/dev-handoff`, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({
|
||||
targetApp: "antigravity",
|
||||
model: "gemini-3.8-flash",
|
||||
includeHomelab: true,
|
||||
moveStatusToBuilding: true
|
||||
})
|
||||
});
|
||||
assert.equal(agyRes.status, 200);
|
||||
const agyData = await agyRes.json();
|
||||
assert.equal(agyData.handoff.targetApp, "antigravity");
|
||||
assert.equal(agyData.handoff.model, "gemini-3.8-flash");
|
||||
assert.equal(agyData.handoff.modelLabel, "Gemini 3.8 Flash (Medium)");
|
||||
assert.match(agyData.handoff.deepLinkUrl, /^antigravity:\/\/new\?model=gemini-3\.8-flash/);
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user