Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
perf: remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
BRama10 committed Oct 7, 2024
1 parent b824fb0 commit ebbf89c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions nlt/terminal/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,11 @@ def format_response(content: str) -> Panel:
return Panel(syntax, title=title, expand=False, border_style="green")

def make_prompt(cmd: str):
print(cmd)
return TERMINAL_COMMAND_ASSISTANT_PROMPT % cmd

def make_api_request(cmd: str, api_url: str, api_key: str) -> dict:
prompt = make_prompt(cmd)

print(prompt)

headers = {
"Content-Type": "application/json",
"Authorization": f"Bearer {api_key}"
Expand Down

0 comments on commit ebbf89c

Please sign in to comment.