feat: openai socks proxy support
This commit is contained in:
3
main.py
3
main.py
@@ -136,6 +136,7 @@ async def main() -> None:
|
||||
model=settings.openai_model,
|
||||
system_prompt_file=settings.openai_system_prompt_file,
|
||||
timeout_seconds=settings.requests_timeout_seconds,
|
||||
proxy_url=settings.telegram_proxy_url,
|
||||
)
|
||||
dispatcher = build_dispatcher(reply_generator, published_offers_store)
|
||||
|
||||
@@ -177,4 +178,4 @@ async def main() -> None:
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
asyncio.run(main())
|
||||
asyncio.run(main())
|
||||
|
||||
Reference in New Issue
Block a user