@saltcorn/large-language-model 0.8.9 → 0.8.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/constants.js CHANGED
@@ -14,9 +14,9 @@ const OPENAI_MODELS = [
14
14
  "o3",
15
15
  "o3-mini",
16
16
  "o4-mini",
17
- "gtp-5",
18
- "gtp-5-nano",
19
- "gtp-5-mini",
17
+ "gpt-5",
18
+ "gpt-5-nano",
19
+ "gpt-5-mini",
20
20
  ];
21
21
 
22
22
  // https://github.com/ollama/ollama/blob/main/docs/faq.md#where-are-models-stored
package/generate.js CHANGED
@@ -200,9 +200,9 @@ const getCompletionOpenAICompatible = async (
200
200
  "o3",
201
201
  "o3-mini",
202
202
  "o4-mini",
203
- "gtp-5",
204
- "gtp-5-nano",
205
- "gtp-5-mini",
203
+ "gpt-5",
204
+ "gpt-5-nano",
205
+ "gpt-5-mini",
206
206
  ].includes(use_model)
207
207
  )
208
208
  body.temperature = 0.7;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saltcorn/large-language-model",
3
- "version": "0.8.9",
3
+ "version": "0.8.10",
4
4
  "description": "Large language models and functionality for Saltcorn",
5
5
  "main": "index.js",
6
6
  "dependencies": {