Commit b3f599c
committed
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.1 parent 80118f1 commit b3f599c
2 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
247 | 247 | | |
248 | | - | |
249 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
250 | 252 | | |
251 | 253 | | |
252 | 254 | | |
| |||
0 commit comments