-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Add the balance of dalle3 when it is insufficient and display an e…
…rror message. 2. Fixed bug: potential timeout 3. Fixed bug: when switching to the claude2 model. 4. Fixed bug: where claude2 may receive empty messages for string concatenation. 5. Fixed bug: truncate function call in search.
- Loading branch information
Showing
4 changed files
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import tiktoken | ||
# tiktoken.get_encoding("cl100k_base") | ||
tiktoken.model.MODEL_TO_ENCODING["claude-2.1"] = "cl100k_base" | ||
encoding = tiktoken.encoding_for_model("claude-2.1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters