MCPcopy Index your code
hub / github.com/openai/openai-agents-python / create_file

Method create_file

tests/test_apply_patch_tool.py:403–405  ·  view source on GitHub ↗
(self, operation: ApplyPatchOperation)

Source from the content-addressed store, hash-verified

401 return ApplyPatchResult(status="failed", output=f"Failed {operation.path}")
402
403 def create_file(self, operation: ApplyPatchOperation) -> ApplyPatchResult:
404 self.operations.append(operation)
405 return ApplyPatchResult(status="completed", output=f"Created {operation.path}")
406
407 @dataclass
408 class MultiOpCall:

Callers

nothing calls this directly

Calls 2

ApplyPatchResultClass · 0.90
appendMethod · 0.80

Tested by

no test coverage detected