Skip to content

Commit

Permalink
chore: Add missing prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
fangyinc committed Mar 27, 2024
1 parent fe18598 commit ccf7c4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbgpt/client/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ async def _chat(client: Client, interactive: bool, json_data: Dict[str, Any]):
cl.info("Chat started")
cl.debug(f"JSON data: {json.dumps(json_data, ensure_ascii=False)}")
res = await client.chat(**json_data)
cl.print("Bot: ")
if res.choices:
text = res.choices[0].message.content
cl.markdown(text)
Expand Down

0 comments on commit ccf7c4e

Please sign in to comment.