mirror of
https://github.com/openai/codex.git
synced 2026-11-10 21:00:47 +00:00
Allow plugin starter prompts up to 512 characters (#60048)
## What changed Raise the per-entry limit for plugin `interface.defaultPrompt` from 128 to 512 characters, retaining the maximum of three prompts. Update the protocol documentation and generated schemas and bindings to reflect the new limit. ## Testing Update manifest coverage to accept a 512-character Unicode prompt and reject an over-limit prompt. Adjust the discovery warning test to use a 513-character prompt. GitOrigin-RevId: 0ba3ceb253edf22a583f774492934b7c9b5ac231
This commit is contained in:
committed by
copyberry
parent
b7d2321ef7
commit
358e464528
@@ -3376,7 +3376,7 @@ class PluginInterface(BaseModel):
|
||||
list[str] | None,
|
||||
Field(
|
||||
alias="defaultPrompt",
|
||||
description="Starter prompts for the plugin. Capped at 3 entries with a maximum of 128 characters per entry.",
|
||||
description="Starter prompts for the plugin. Capped at 3 entries with a maximum of 512 characters per entry.",
|
||||
),
|
||||
] = None
|
||||
developer_name: Annotated[str | None, Field(alias="developerName")] = None
|
||||
|
||||
Reference in New Issue
Block a user