@xano/xanoscript-language-server 12.14.0 → 12.15.0
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/package.json +1 -1
- package/parser/agent_parser.js +30 -1
package/package.json
CHANGED
package/parser/agent_parser.js
CHANGED
|
@@ -104,6 +104,16 @@ export function agentDeclaration($) {
|
|
|
104
104
|
"temperature",
|
|
105
105
|
"reasoning_effort",
|
|
106
106
|
],
|
|
107
|
+
// Azure AI Foundry. "model" is the customer's deployment name and
|
|
108
|
+
// "baseURL" their Foundry endpoint; both are required because the
|
|
109
|
+
// provider has no default endpoint to fall back on.
|
|
110
|
+
"azure-openai": [
|
|
111
|
+
"type",
|
|
112
|
+
"max_steps",
|
|
113
|
+
"model",
|
|
114
|
+
"temperature",
|
|
115
|
+
"baseURL",
|
|
116
|
+
],
|
|
107
117
|
xano_free: [
|
|
108
118
|
"type",
|
|
109
119
|
"max_steps",
|
|
@@ -147,6 +157,18 @@ export function agentDeclaration($) {
|
|
|
147
157
|
"project",
|
|
148
158
|
"compatibility",
|
|
149
159
|
],
|
|
160
|
+
"azure-openai": [
|
|
161
|
+
...requiredFieldsPerSource["azure-openai"],
|
|
162
|
+
"system_prompt",
|
|
163
|
+
"prompt",
|
|
164
|
+
"messages",
|
|
165
|
+
"api_key",
|
|
166
|
+
// Optional: the runtime defaults it to "preview" for the
|
|
167
|
+
// /openai/v1 endpoint. Classic deployment URLs use a dated
|
|
168
|
+
// value such as "2024-10-21".
|
|
169
|
+
"api_version",
|
|
170
|
+
"headers",
|
|
171
|
+
],
|
|
150
172
|
"xano-free": [
|
|
151
173
|
...requiredFieldsPerSource["xano_free"],
|
|
152
174
|
"system_prompt",
|
|
@@ -166,7 +188,13 @@ export function agentDeclaration($) {
|
|
|
166
188
|
ARGS: [
|
|
167
189
|
subParent,
|
|
168
190
|
{
|
|
169
|
-
type: [
|
|
191
|
+
type: [
|
|
192
|
+
"anthropic",
|
|
193
|
+
"azure-openai",
|
|
194
|
+
"google-genai",
|
|
195
|
+
"openai",
|
|
196
|
+
"xano-free",
|
|
197
|
+
],
|
|
170
198
|
max_steps: "[number]",
|
|
171
199
|
// prompt and message are exclusive (at least one but not both), but we'll validate that
|
|
172
200
|
// after parsing
|
|
@@ -175,6 +203,7 @@ export function agentDeclaration($) {
|
|
|
175
203
|
// all the following fields are optional because we'll validate
|
|
176
204
|
// required and allowed fields per source below
|
|
177
205
|
"api_key?": "[string]",
|
|
206
|
+
"api_version?": "[string]",
|
|
178
207
|
"baseURL?": "[string]",
|
|
179
208
|
"compatibility?": ["strict", "compatible", ""],
|
|
180
209
|
"dynamic_retrival?": ["enabled", "disabled", ""],
|