Skip to content

Commit c84a54a

Browse files
Automated pre-commit update
1 parent 27bb619 commit c84a54a

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,7 @@ from codegen.agents.agent import Agent
8686
agent = Agent(org_id="YOUR_ORG_ID", token="YOUR_API_TOKEN")
8787

8888
# Analyze a specific file
89-
task = agent.run(
90-
prompt="Analyze this file for potential bugs and suggest improvements.",
91-
files=["path/to/your/file.py"]
92-
)
89+
task = agent.run(prompt="Analyze this file for potential bugs and suggest improvements.", files=["path/to/your/file.py"])
9390

9491
# Wait for completion and get results
9592
task.wait_until_complete()
@@ -104,10 +101,7 @@ from codegen.agents.agent import Agent
104101
agent = Agent(org_id="YOUR_ORG_ID", token="YOUR_API_TOKEN")
105102

106103
# Transform code based on requirements
107-
task = agent.run(
108-
prompt="Refactor this code to use async/await pattern instead of callbacks.",
109-
files=["path/to/your/file.js"]
110-
)
104+
task = agent.run(prompt="Refactor this code to use async/await pattern instead of callbacks.", files=["path/to/your/file.js"])
111105

112106
# Wait for completion and get results
113107
task.wait_until_complete()
@@ -161,4 +155,3 @@ For more information on enterprise engagements, please [contact us](https://code
161155
## License
162156

163157
This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.
164-

0 commit comments

Comments
 (0)