Skip to content

Commit

Permalink
remove cloudflare
Browse files Browse the repository at this point in the history
  • Loading branch information
alexraskin authored Jan 24, 2025
1 parent 835bc5f commit 438b04a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bot/cogs/ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ class Ai(commands.Cog):
def __init__(self, client: Konikotaka) -> None:
self.client: Konikotaka = client
self.openai_token: str = os.environ["OPENAI_TOKEN"]
self.openai_gateway_url: str = os.environ["CLOUDFLARE_AI_GATEWAY_URL"]
self.openai_client = AsyncOpenAI(
api_key=self.openai_token, base_url=self.openai_gateway_url
api_key=self.openai_token
)

@commands.Cog.listener()
Expand Down

0 comments on commit 438b04a

Please sign in to comment.