Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MrlolDev committed Nov 4, 2023
1 parent 49c0b67 commit d6443a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/models/text/openchat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export default {
model: {
type: "string",
required: false,
default: "openchat_3.5",
options: ["openchat_3.5"],
default: "openchat_v3.2_mistral",
options: ["openchat_v3.2_mistral"],
},
max_tokens: {
type: "number",
Expand Down Expand Up @@ -76,7 +76,7 @@ export default {
cost: 0,
finishReason: null,
};
if (!model) model = "openchat_3.5";
if (!model) model = "openchat_v3.2_mistral";
if (!max_tokens) max_tokens = 512;
if (!temperature) temperature = 0.9;
result.cost += (getChatMessageLength(messages) / 1000) * 0.0001;
Expand Down

0 comments on commit d6443a2

Please sign in to comment.