refactor
Method
This is a method of the CodeAgent class in the code_agent module.Refactor code to improve quality.
Signature
Parameters
str
required
Code to refactor
str
default:"''"
Specific refactoring instructions
str
default:"'python'"
Programming language **kwargs: Additional arguments
Returns
str
Refactored code as string
Uses
completion
Source
View on GitHub
praisonaiagents/agent/code_agent.py at line 416
