Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Aug 18, 2024
1 parent 4e3fc82 commit e600c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ async def mini(ctx, prompt: discord.Option(str, description="Der Prompt"), url:
embed.description = (all_messages.data[0].content[0].text.value[(4096*i):(4096*(i+1))])
await ctx.respond(embed=embed)
else:
message = await oaiclient.chat.completions.create(
message = oaiclient.chat.completions.create(
model="gpt-4o-mini",
messages=[
{"role": "system", "content": "Du befolgst die dir gegebenen Anweisungen."},
Expand Down Expand Up @@ -204,7 +204,7 @@ async def gpt(ctx, prompt: discord.Option(str, description="Der Prompt"), url: d
embed.description = (all_messages.data[0].content[0].text.value[(4096*i):(4096*(i+1))])
await ctx.respond(embed=embed)
else:
message = await oaiclient.chat.completions.create(
message = oaiclient.chat.completions.create(
model="gpt-4o",
messages=[
{"role": "system", "content": "Du befolgst die dir gegebenen Anweisungen."},
Expand Down

0 comments on commit e600c7a

Please sign in to comment.