feat!: Full code can now be generated by an external model and shared with the AI tool (Claude Code / Codex etc)!
model definitions now support a new `allow_code_generation` flag, only to be used with higher reasoning models such as GPT-5-Pro and-Gemini 2.5-Pro When `true`, the `chat` tool can now request the external model to generate a full implementation / update / instructions etc and then share the implementation with the calling agent. This effectively allows us to utilize more powerful models such as GPT-5-Pro to generate code for us or entire implementations (which are either API-only or part of the $200 Pro plan from within the ChatGPT app)
This commit is contained in:
@@ -8,6 +8,7 @@ from .codereview_prompt import CODEREVIEW_PROMPT
|
||||
from .consensus_prompt import CONSENSUS_PROMPT
|
||||
from .debug_prompt import DEBUG_ISSUE_PROMPT
|
||||
from .docgen_prompt import DOCGEN_PROMPT
|
||||
from .generate_code_prompt import GENERATE_CODE_PROMPT
|
||||
from .planner_prompt import PLANNER_PROMPT
|
||||
from .precommit_prompt import PRECOMMIT_PROMPT
|
||||
from .refactor_prompt import REFACTOR_PROMPT
|
||||
@@ -21,6 +22,7 @@ __all__ = [
|
||||
"CODEREVIEW_PROMPT",
|
||||
"DEBUG_ISSUE_PROMPT",
|
||||
"DOCGEN_PROMPT",
|
||||
"GENERATE_CODE_PROMPT",
|
||||
"ANALYZE_PROMPT",
|
||||
"CHAT_PROMPT",
|
||||
"CONSENSUS_PROMPT",
|
||||
|
||||
Reference in New Issue
Block a user