config: tune workspace profiles and codex models
This commit is contained in:
parent
d406df3056
commit
696ef30d10
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user