mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-28 03:14:32 +01:00
13 lines
384 B
Python
13 lines
384 B
Python
from agbenchmark.challenge import Challenge
|
|
|
|
|
|
def example_mock(task: str, workspace: str) -> None:
|
|
"""
|
|
This mock writes to a file (creates one if it doesn't exist)
|
|
"""
|
|
Challenge.write_to_file(
|
|
workspace,
|
|
"file_to_check.txt",
|
|
"This is an example showing how you can use mocks but here you can use artifacts_out folder instead of a mock.",
|
|
)
|