Skip to content

Commit

Permalink
max messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio committed Jun 22, 2023
1 parent f613822 commit 8b83bd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/EdgeGPT/EdgeGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ async def ask(
- response["item"]["throttling"].get(
"numUserMessagesInConversation", 0
),
"max_messages": response["item"]["throttling"][
"maxNumUserMessagesInConversation"
],
"adaptive_text": adaptive_text,
}
return {}
Expand Down

0 comments on commit 8b83bd2

Please sign in to comment.