feat(agent): Introduce Python code execution as prompt strategy #7142
48.20% of diff hit (target 34.04%)
View this Pull Request on Codecov
48.20% of diff hit (target 34.04%)
Annotations
Check warning on line 109 in autogpt/autogpt/agents/agent.py
codecov / codecov/patch
autogpt/autogpt/agents/agent.py#L109
Added line #L109 was not covered by tests
Check warning on line 117 in autogpt/autogpt/agents/agent.py
codecov / codecov/patch
autogpt/autogpt/agents/agent.py#L117
Added line #L117 was not covered by tests
Check warning on line 205 in autogpt/autogpt/agents/agent.py
codecov / codecov/patch
autogpt/autogpt/agents/agent.py#L205
Added line #L205 was not covered by tests
Check warning on line 283 in autogpt/autogpt/agents/agent.py
codecov / codecov/patch
autogpt/autogpt/agents/agent.py#L283
Added line #L283 was not covered by tests
Check warning on line 106 in autogpt/autogpt/agents/prompt_strategies/code_flow.py
codecov / codecov/patch
autogpt/autogpt/agents/prompt_strategies/code_flow.py#L106
Added line #L106 was not covered by tests
Check warning on line 251 in autogpt/autogpt/agents/prompt_strategies/code_flow.py
codecov / codecov/patch
autogpt/autogpt/agents/prompt_strategies/code_flow.py#L251
Added line #L251 was not covered by tests
Check warning on line 267 in autogpt/autogpt/agents/prompt_strategies/code_flow.py
codecov / codecov/patch
autogpt/autogpt/agents/prompt_strategies/code_flow.py#L267
Added line #L267 was not covered by tests
Check warning on line 312 in autogpt/autogpt/agents/prompt_strategies/code_flow.py
codecov / codecov/patch
autogpt/autogpt/agents/prompt_strategies/code_flow.py#L311-L312
Added lines #L311 - L312 were not covered by tests
Check warning on line 347 in autogpt/autogpt/agents/prompt_strategies/code_flow.py
codecov / codecov/patch
autogpt/autogpt/agents/prompt_strategies/code_flow.py#L347
Added line #L347 was not covered by tests
Check warning on line 131 in autogpt/autogpt/agents/prompt_strategies/one_shot.py
codecov / codecov/patch
autogpt/autogpt/agents/prompt_strategies/one_shot.py#L131
Added line #L131 was not covered by tests
Check warning on line 35 in forge/forge/command/command.py
codecov / codecov/patch
forge/forge/command/command.py#L35
Added line #L35 was not covered by tests
Check warning on line 41 in forge/forge/command/command.py
codecov / codecov/patch
forge/forge/command/command.py#L41
Added line #L41 was not covered by tests
Check warning on line 49 in forge/forge/command/command.py
codecov / codecov/patch
forge/forge/command/command.py#L49
Added line #L49 was not covered by tests
Check warning on line 52 in forge/forge/command/command.py
codecov / codecov/patch
forge/forge/command/command.py#L51-L52
Added lines #L51 - L52 were not covered by tests
Check warning on line 64 in forge/forge/command/command.py
codecov / codecov/patch
forge/forge/command/command.py#L64
Added line #L64 was not covered by tests
Check warning on line 47 in forge/forge/command/decorator.py
codecov / codecov/patch
forge/forge/command/decorator.py#L47
Added line #L47 was not covered by tests
Check warning on line 54 in forge/forge/command/decorator.py
codecov / codecov/patch
forge/forge/command/decorator.py#L54
Added line #L54 was not covered by tests
Check warning on line 60 in forge/forge/command/decorator.py
codecov / codecov/patch
forge/forge/command/decorator.py#L59-L60
Added lines #L59 - L60 were not covered by tests
Check warning on line 63 in forge/forge/command/decorator.py
codecov / codecov/patch
forge/forge/command/decorator.py#L63
Added line #L63 was not covered by tests
Check warning on line 95 in forge/forge/command/decorator.py
codecov / codecov/patch
forge/forge/command/decorator.py#L95
Added line #L95 was not covered by tests
Check warning on line 99 in forge/forge/command/decorator.py
codecov / codecov/patch
forge/forge/command/decorator.py#L98-L99
Added lines #L98 - L99 were not covered by tests
Check warning on line 102 in forge/forge/command/decorator.py
codecov / codecov/patch
forge/forge/command/decorator.py#L101-L102
Added lines #L101 - L102 were not covered by tests
Check warning on line 104 in forge/forge/command/decorator.py
codecov / codecov/patch
forge/forge/command/decorator.py#L104
Added line #L104 was not covered by tests
Check warning on line 147 in forge/forge/command/decorator.py
codecov / codecov/patch
forge/forge/command/decorator.py#L145-L147
Added lines #L145 - L147 were not covered by tests
Check warning on line 150 in forge/forge/command/decorator.py
codecov / codecov/patch
forge/forge/command/decorator.py#L150
Added line #L150 was not covered by tests