Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine agent interaction and improve CLI output
This commit includes two main changes: 1. In `aicodebot/agents.py`, the prompt for the AI agent has been updated to emphasize the importance of properly formatting responses in JSON. This change is crucial to ensure that the agent's responses can be correctly parsed and processed. 2. In `aicodebot/cli.py`, the verbosity level passed to the `get_agent` function is now the one provided by the user, instead of always being `True`. Additionally, the agent's response is now displayed in a more user-friendly way, with a spinner indicating that the agent is "thinking", and the response being printed separately from the spinner. This improves the user experience by providing clearer feedback about what the agent is doing.
- Loading branch information