From 6287046bf7e765bb5f7cf89be5db37acc3e2a894 Mon Sep 17 00:00:00 2001 From: Jaden Fix Date: Thu, 18 Jun 2026 17:12:31 -0700 Subject: [PATCH] docs: use gpt-5.5 in examples --- README.md | 6 +++--- SDK_EXAMPLES.md | 4 ++-- examples/create_agent.py | 2 +- examples/manage_versions.py | 2 +- openapi/openapi.yml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 49a48bf..be3534a 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ agent = client.agents.create( {"key": "text", "data_type": "text/plain", "description": "Item description"}, ], engine_config={ - "model": "gpt-4.1-2025-04-14", + "model": "gpt-5.5-2026-04-23", "text": "${text}", "instruction": "Analyze this product listing. Is it counterfeit?", "output_schema": { @@ -176,7 +176,7 @@ agent = client.agents.create( {"key": "pdf_files", "data_type": "application/pdf", "description": "Resume PDF"}, ], engine_config={ - "model": "gpt-4.1-2025-04-14", + "model": "gpt-5.5-2026-04-23", "pdf_files": "${pdf_files}", "instructions": "Extract candidate information from this resume.", "output_schema": { @@ -207,7 +207,7 @@ agent = client.agents.create( ], engine_config={ "url": "${url}", - "model": "gpt-4.1-2025-04-14", + "model": "gpt-5.5-2026-04-23", "instruction": "Extract company information from this website.", "vision_mode": False, "crawl_config": { diff --git a/SDK_EXAMPLES.md b/SDK_EXAMPLES.md index 4d8656f..481c96c 100644 --- a/SDK_EXAMPLES.md +++ b/SDK_EXAMPLES.md @@ -36,7 +36,7 @@ result = client.agents.create( name="name", # required engine_class_id="engine_class_id", # required input_definitions=[{"key": "text", "data_type": "text/plain"}], # optional - engine_config={"model": "gpt-4.1"}, # optional + engine_config={"model": "gpt-5.5-2026-04-23"}, # optional version_name="version_name", # optional description="description", # optional ) @@ -343,7 +343,7 @@ client = RoeClient() result = client.agents.versions.create( agent_id="agent_id", # required input_definitions=[{"key": "text", "data_type": "text/plain"}], # optional - engine_config={"model": "gpt-4.1"}, # optional + engine_config={"model": "gpt-5.5-2026-04-23"}, # optional version_name="version_name", # optional description="description", # optional ) diff --git a/examples/create_agent.py b/examples/create_agent.py index 1cf251b..5dd84f0 100644 --- a/examples/create_agent.py +++ b/examples/create_agent.py @@ -23,7 +23,7 @@ def main(): }, ], engine_config={ - "model": "gpt-4.1-2025-04-14", + "model": "gpt-5.5-2026-04-23", "instruction": "Summarize the key points of this document.", "output_schema": { "type": "object", diff --git a/examples/manage_versions.py b/examples/manage_versions.py index c511851..183a67b 100644 --- a/examples/manage_versions.py +++ b/examples/manage_versions.py @@ -28,7 +28,7 @@ def main(): }, ], engine_config={ - "model": "gpt-4.1-2025-04-14", + "model": "gpt-5.5-2026-04-23", "instruction": "Extract structured data from the text.", "temperature": "0", }, diff --git a/openapi/openapi.yml b/openapi/openapi.yml index e518517..e5c4f66 100644 --- a/openapi/openapi.yml +++ b/openapi/openapi.yml @@ -918,7 +918,7 @@ paths: accepts_multiple_files: null engine_config: text: ${text} - model: gpt-4.1-2025-04-14 + model: gpt-5.5-2026-04-23 instruction: Process the text temperature: '0.0' output_schema: '{"type":"string","description":"The result"}'