@formio/uag-openai 2.0.0-rc.5 → 2.0.0-rc.7
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/compatible.js +3 -1
- package/index.js +3 -1
- package/package.json +2 -2
package/compatible.js
CHANGED
|
@@ -456,7 +456,9 @@ function openAICompatible(provider) {
|
|
|
456
456
|
if (spec.env === undefined) delete spec.env;
|
|
457
457
|
}
|
|
458
458
|
return defineEngine({
|
|
459
|
-
type:
|
|
459
|
+
type: 'engine',
|
|
460
|
+
name: provider.type,
|
|
461
|
+
title: provider.title || provider.type,
|
|
460
462
|
kinds: ['agent'],
|
|
461
463
|
apiVersion: ENGINE_API_VERSION,
|
|
462
464
|
description: provider.description,
|
package/index.js
CHANGED
|
@@ -26,7 +26,9 @@ const DEFAULT_BASE_URL = 'https://api.openai.com/v1';
|
|
|
26
26
|
const MAX_OPTIONS = 255;
|
|
27
27
|
|
|
28
28
|
module.exports = defineEngine({
|
|
29
|
-
type: '
|
|
29
|
+
type: 'engine',
|
|
30
|
+
name: 'openai',
|
|
31
|
+
title: 'OpenAI',
|
|
30
32
|
kinds: ['agent', 'decision'],
|
|
31
33
|
apiVersion: ENGINE_API_VERSION,
|
|
32
34
|
description: 'OpenAI: structured extraction with research over read-only tools, on OpenAI or any server with its chat completions API; or decisions with probabilities, on OpenAI\'s Decisions API.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formio/uag-openai",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.7",
|
|
4
4
|
"description": "OpenAI engine for the Form.io Universal Agent Gateway (UAG): structured extraction, with research over read-only tools, on OpenAI or any server with its chat completions API (Ollama, vLLM, LM Studio, OpenRouter); and decisions with probabilities on OpenAI's Decisions API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"formio",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@formio/uag-sdk": "^2.0.0-rc.
|
|
45
|
+
"@formio/uag-sdk": "^2.0.0-rc.7",
|
|
46
46
|
"openai": "7.45.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|