feat(agent): Introduce Python code execution as prompt strategy #7142
45.45% of diff hit (target 53.79%)
View this Pull Request on Codecov
45.45% of diff hit (target 53.79%)
Annotations
Check warning on line 107 in autogpt/autogpt/agents/agent.py
codecov / codecov/patch
autogpt/autogpt/agents/agent.py#L107
Added line #L107 was not covered by tests
Check warning on line 115 in autogpt/autogpt/agents/agent.py
codecov / codecov/patch
autogpt/autogpt/agents/agent.py#L115
Added line #L115 was not covered by tests
Check warning on line 209 in autogpt/autogpt/agents/agent.py
codecov / codecov/patch
autogpt/autogpt/agents/agent.py#L209
Added line #L209 was not covered by tests
Check warning on line 287 in autogpt/autogpt/agents/agent.py
codecov / codecov/patch
autogpt/autogpt/agents/agent.py#L287
Added line #L287 was not covered by tests
Check warning on line 107 in autogpt/autogpt/agents/prompt_strategies/code_flow.py
codecov / codecov/patch
autogpt/autogpt/agents/prompt_strategies/code_flow.py#L107
Added line #L107 was not covered by tests
Check warning on line 252 in autogpt/autogpt/agents/prompt_strategies/code_flow.py
codecov / codecov/patch
autogpt/autogpt/agents/prompt_strategies/code_flow.py#L252
Added line #L252 was not covered by tests
Check warning on line 268 in autogpt/autogpt/agents/prompt_strategies/code_flow.py
codecov / codecov/patch
autogpt/autogpt/agents/prompt_strategies/code_flow.py#L268
Added line #L268 was not covered by tests
Check warning on line 313 in autogpt/autogpt/agents/prompt_strategies/code_flow.py
codecov / codecov/patch
autogpt/autogpt/agents/prompt_strategies/code_flow.py#L312-L313
Added lines #L312 - L313 were not covered by tests
Check warning on line 348 in autogpt/autogpt/agents/prompt_strategies/code_flow.py
codecov / codecov/patch
autogpt/autogpt/agents/prompt_strategies/code_flow.py#L348
Added line #L348 was not covered by tests
Check warning on line 114 in autogpt/autogpt/agents/prompt_strategies/one_shot.py
codecov / codecov/patch
autogpt/autogpt/agents/prompt_strategies/one_shot.py#L114
Added line #L114 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 26 in autogpt/autogpt/app/agent_protocol_server.py
codecov / codecov/patch
autogpt/autogpt/app/agent_protocol_server.py#L26
Added line #L26 was not covered by tests
Check warning on line 305 in autogpt/autogpt/app/agent_protocol_server.py
codecov / codecov/patch
autogpt/autogpt/app/agent_protocol_server.py#L303-L305
Added lines #L303 - L305 were not covered by tests
Check warning on line 307 in autogpt/autogpt/app/agent_protocol_server.py
codecov / codecov/patch
autogpt/autogpt/app/agent_protocol_server.py#L307
Added line #L307 was not covered by tests
Check warning on line 634 in autogpt/autogpt/app/main.py
codecov / codecov/patch
autogpt/autogpt/app/main.py#L633-L634
Added lines #L633 - L634 were not covered by tests
Check warning on line 653 in autogpt/autogpt/app/main.py
codecov / codecov/patch
autogpt/autogpt/app/main.py#L651-L653
Added lines #L651 - L653 were not covered by tests
Check warning on line 661 in autogpt/autogpt/app/main.py
codecov / codecov/patch
autogpt/autogpt/app/main.py#L661
Added line #L661 was not covered by tests
Check warning on line 665 in autogpt/autogpt/app/main.py
codecov / codecov/patch
autogpt/autogpt/app/main.py#L665
Added line #L665 was not covered by tests
Check warning on line 753 in autogpt/autogpt/app/main.py
codecov / codecov/patch
autogpt/autogpt/app/main.py#L753
Added line #L753 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