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

Update free_ask_internet.py #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 free_ask_internet.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def chat(prompt, model:str,llm_auth_token:str,llm_base_url:str,using_custom_llm=

if using_custom_llm:
openai.base_url = llm_base_url
openai.api_key = "CUSTOM"
openai.api_key = llm_auth_token


total_content = ""
Expand Down Expand Up @@ -239,4 +239,4 @@ def ask_internet(query:str, debug=False):
yield "*[{}. {}]({})*".format(str(count),url,url )
yield "\n"
count += 1