Skip to main content

fix

Method
This is a method of the CodeAgent class in the code_agent module.
Fix bugs in code.

Signature

Parameters

str
required
Code with bugs
str
default:"''"
Error message or description of the bug
str
default:"'python'"
Programming language **kwargs: Additional arguments

Returns

str
Fixed code as string

Uses

  • completion

Source

View on GitHub

praisonaiagents/agent/code_agent.py at line 462