Add Antigravity (agy) as a third agent backend for gemini-* models

This commit is contained in:
Ian Gulliver
2026-10-18 16:05:50 -07:00
parent a3680cd416
commit 543d1289e3
15 changed files with 1281 additions and 303 deletions
+3
View File
@@ -25,6 +25,9 @@ func (m *Manager) Fork(ctx context.Context, src api.Task, project api.Project, n
if err != nil {
return api.Task{}, err
}
if srcSess.Vendor == api.Antigravity {
return api.Task{}, fmt.Errorf("%w: snapshot %d of task %s is from an Antigravity session, and agy can't fork a conversation", ErrConflict, n, src.Id)
}
events, err := m.store.TaskEvents(ctx, src.Id, 0, -1)
if err != nil {
return api.Task{}, err