feat(agents): add gpt-5.5 native sisyphus support

Route GPT-5.5 through the existing GPT-5.4-native Sisyphus and Hephaestus prompt family while keeping one shared model-family helper.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Jay1
2026-04-23 20:49:11 -04:00
parent 7641fc52a1
commit f6b2ce7b6b
7 changed files with 114 additions and 10 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import type { AgentConfig } from "@opencode-ai/sdk";
import type { AgentMode, AgentPromptMetadata } from "./types";
import { isGptModel, isGeminiModel, isGpt5_4Model } from "./types";
import { isGptModel, isGeminiModel, isGptNativeSisyphusModel } from "./types";
import {
buildGeminiToolMandate,
buildGeminiDelegationOverride,
@@ -480,7 +480,7 @@ export function createSisyphusAgent(
const categories = availableCategories ?? [];
const agents = availableAgents ?? [];
if (isGpt5_4Model(model)) {
if (isGptNativeSisyphusModel(model)) {
const prompt = buildGpt54SisyphusPrompt(
model,
agents,