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 { isGpt5_4Model, isGpt5_3CodexModel } from "../types";
import { isGpt5_3CodexModel, isGptNativeSisyphusModel } from "../types";
import type {
AvailableAgent,
AvailableTool,
@@ -21,7 +21,7 @@ export type HephaestusPromptSource = "gpt-5-4" | "gpt-5-3-codex" | "gpt";
export function getHephaestusPromptSource(
model?: string,
): HephaestusPromptSource {
if (model && isGpt5_4Model(model)) {
if (model && isGptNativeSisyphusModel(model)) {
return "gpt-5-4";
}
if (model && isGpt5_3CodexModel(model)) {