mirror of
https://github.com/openai/codex.git
synced 2026-10-18 17:18:52 +00:00
Reword the apply_patch tool description (#33680)
GitOrigin-RevId: 4d44f0c61578cbce04a4f6dffdba4833c39f4491
This commit is contained in:
@@ -17,7 +17,7 @@ pub fn create_apply_patch_freeform_tool(include_environment_id: bool) -> ToolSpe
|
||||
};
|
||||
ToolSpec::Freeform(FreeformTool {
|
||||
name: "apply_patch".to_string(),
|
||||
description: "Use the `apply_patch` tool to edit files. This is a FREEFORM tool, so do not wrap the patch in JSON.".to_string(),
|
||||
description: "The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the patch in JSON.".to_string(),
|
||||
format: FreeformToolFormat {
|
||||
r#type: "grammar".to_string(),
|
||||
syntax: "lark".to_string(),
|
||||
|
||||
@@ -8,7 +8,7 @@ fn create_apply_patch_freeform_tool_matches_expected_spec() {
|
||||
ToolSpec::Freeform(FreeformTool {
|
||||
name: "apply_patch".to_string(),
|
||||
description:
|
||||
"Use the `apply_patch` tool to edit files. This is a FREEFORM tool, so do not wrap the patch in JSON."
|
||||
"The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the patch in JSON."
|
||||
.to_string(),
|
||||
format: FreeformToolFormat {
|
||||
r#type: "grammar".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user