Skip to content

Commit

Permalink
Minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovank committed Feb 5, 2024
1 parent 5bd0640 commit f8f3b11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cwhy/cwhy.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def main(args: argparse.Namespace) -> None:
if not service:
print_key_info()
sys.exit(1)

process = subprocess.run(
args.command,
stdout=subprocess.PIPE,
Expand Down Expand Up @@ -203,7 +204,7 @@ def main(args: argparse.Namespace) -> None:
def evaluate_text_prompt(client, args, prompt, wrap=True, **kwargs):
completion = complete(client, args, prompt, **kwargs)

msg = f"Analysis from {AI_service}:"
msg = f"Analysis from {service}:"
print(msg)
print("-" * len(msg))
text = completion.choices[0].message.content
Expand Down

0 comments on commit f8f3b11

Please sign in to comment.