Spaces:
Paused
Paused
Julian Bilcke
commited on
Commit
·
0c03f14
1
Parent(s):
2ca9f9b
plus doesn't exist anymroe
Browse files
src/providers/language-model/openai/createChatCompletion.mts
CHANGED
|
@@ -29,7 +29,7 @@ export const createChatCompletion = async (
|
|
| 29 |
// for doc: https://www.npmjs.com/package/gpt-tokens
|
| 30 |
const usageInfo = new GPTTokens({
|
| 31 |
// Plus enjoy a 25% cost reduction for input tokens on GPT-3.5 Turbo (0.0015 per 1K input tokens)
|
| 32 |
-
plus : false,
|
| 33 |
model : "gpt-4",
|
| 34 |
messages: messages as any,
|
| 35 |
})
|
|
|
|
| 29 |
// for doc: https://www.npmjs.com/package/gpt-tokens
|
| 30 |
const usageInfo = new GPTTokens({
|
| 31 |
// Plus enjoy a 25% cost reduction for input tokens on GPT-3.5 Turbo (0.0015 per 1K input tokens)
|
| 32 |
+
// plus : false,
|
| 33 |
model : "gpt-4",
|
| 34 |
messages: messages as any,
|
| 35 |
})
|