Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove unnecessary openai print #1333

Merged
merged 8 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions memgpt/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def quickstart(
# fallback to using local
if latest:
# Download the latest memgpt hosted config
url = "https://raw.githubusercontent.com/cpacker/MemGPT/main/memgpt/configs/memgpt_hosted.json"
url = "https://raw.githubusercontent.com/cpacker/MemGPT/main/configs/memgpt_hosted.json"
response = requests.get(url)

# Check if the request was successful
Expand Down Expand Up @@ -199,7 +199,7 @@ def quickstart(
# if latest, try to pull the config from the repo
# fallback to using local
if latest:
url = "https://raw.githubusercontent.com/cpacker/MemGPT/main/memgpt/configs/openai.json"
url = "https://raw.githubusercontent.com/cpacker/MemGPT/main/configs/openai.json"
response = requests.get(url)

# Check if the request was successful
Expand Down
1 change: 0 additions & 1 deletion memgpt/llm_api/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ def openai_chat_completions_request(
try:
response = requests.post(url, headers=headers, json=data)
# printd(f"response = {response}, response.text = {response.text}")
print(f"response = {response}, response.text = {response.text}")
response.raise_for_status() # Raises HTTPError for 4XX/5XX status

response = response.json() # convert to dict from string
Expand Down
Loading