mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-05 12:28:22 +00:00
fix tor example comment
This commit is contained in:
+2
-2
@@ -4,9 +4,9 @@ import openai
|
|||||||
client = openai.OpenAI(
|
client = openai.OpenAI(
|
||||||
api_key=os.environ["CASHU_TOKEN"],
|
api_key=os.environ["CASHU_TOKEN"],
|
||||||
base_url=os.environ.get("ROUTSTR_API_URL", "https://api.routstr.com/v1"),
|
base_url=os.environ.get("ROUTSTR_API_URL", "https://api.routstr.com/v1"),
|
||||||
|
# base_url="http://roustrjfsdgfiueghsklchg.onion/v1",
|
||||||
# client=httpx.AsyncClient(
|
# client=httpx.AsyncClient(
|
||||||
# base_url=os.environ.get("ROUTSTR_API_URL", "https://roustrjfsdgfiueghsklchg.onion/v1"),
|
# proxies={"http": "socks5://localhost:9050"},
|
||||||
# proxies=os.environ.get("ROUTSTR_PROXY", "socks5://localhost:9050"),
|
|
||||||
# ), # to use onion proxy (tor)
|
# ), # to use onion proxy (tor)
|
||||||
)
|
)
|
||||||
history: list = []
|
history: list = []
|
||||||
|
|||||||
Reference in New Issue
Block a user