config: tune workspace profiles and codex models

This commit is contained in:
Keisuke Hirata 2026-06-08 07:05:28 +09:00
parent d406df3056
commit 696ef30d10
No known key found for this signature in database
3 changed files with 15 additions and 7 deletions

View File

@ -7,7 +7,7 @@ return function(opts)
slug = opts.slug,
description = opts.description,
scope = scope.workspace_write(),
scope = opts.scope or scope.workspace_read(),
session = {
record_event_trace = true,

View File

@ -1,7 +1,9 @@
local base = require("_base")
local scope = require("yoi.scope")
return base {
slug = "coder",
description = "Coder role profile: GPT-5.5 with bundled default behavior",
model_ref = "codex-oauth/gpt-5.5",
scope = scope.workspace_write(),
}

View File

@ -29,25 +29,31 @@ provider = "ollama-local"
context_window = 256000
# Codex OAuth (ChatGPT backend via Responses API)
# Codex CLI's model catalog exposes these coding models with a 272k effective
# context window on this route, even when public API docs advertise larger
# model-family windows.
[[model]]
id = "gpt-5.5"
provider = "codex-oauth"
# OpenAI docs advertise GPT-5.5 with a 1.05M context window, but Codex OAuth /
# ChatGPT backend access is effectively limited around 272k tokens; this
# provider-specific entry records that effective route limit directly.
context_window = 272000
capability = { tool_calling = "parallel", structured_output = "json_schema", reasoning = "effort", vision = true, prompt_caching = { kind = "auto" } }
[[model]]
id = "gpt-5.4"
provider = "codex-oauth"
context_window = 1050000
context_window = 272000
capability = { tool_calling = "parallel", structured_output = "json_schema", reasoning = "effort", vision = true, prompt_caching = { kind = "auto" } }
[[model]]
id = "gpt-5-codex"
id = "gpt-5.4-mini"
provider = "codex-oauth"
context_window = 400000
context_window = 272000
capability = { tool_calling = "parallel", structured_output = "json_schema", reasoning = "effort", vision = true, prompt_caching = { kind = "auto" } }
[[model]]
id = "gpt-5.3-codex-spark"
provider = "codex-oauth"
context_window = 272000
capability = { tool_calling = "parallel", structured_output = "json_schema", reasoning = "effort", vision = true, prompt_caching = { kind = "auto" } }
# OpenRouter