@celigo/api-specs 0.2.319 → 0.2.321
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/dist/ai-agent.yml +68 -14
- package/dist/guardrail.yml +19 -12
- package/dist/import.yml +103 -38
- package/dist/tool.yml +103 -38
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/ai-agent.yml
CHANGED
|
@@ -1869,6 +1869,7 @@ components:
|
|
|
1869
1869
|
LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
|
|
1870
1870
|
prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
|
|
1871
1871
|
examples:
|
|
1872
|
+
- gemini-3.6-flash
|
|
1872
1873
|
- gemini-2.5-flash
|
|
1873
1874
|
- gemini-2.5-pro
|
|
1874
1875
|
- gemini-2.5-flash-lite
|
|
@@ -1882,10 +1883,13 @@ components:
|
|
|
1882
1883
|
provider on its own credentials — Gemini and Anthropic Claude each have
|
|
1883
1884
|
their own rows. The save checks this: a model that is not in the catalog
|
|
1884
1885
|
fails with 422 `ai_model_not_in_catalog` on `aiAgent.litellm.model`, a
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1886
|
+
row offered only with a BYOK connection (the Gemini 3 image models
|
|
1887
|
+
`gemini-3.1-flash-image` and `gemini-3-pro-image`) with
|
|
1888
|
+
`ai_model_not_available`, a retired one with `ai_model_retired` (the
|
|
1889
|
+
message names the retirement date and, when any remain eligible, the
|
|
1890
|
+
suggested next models), a switched-off one with `ai_model_disabled`; a
|
|
1891
|
+
deprecated model saves. Never swap the model on the user's behalf — relay
|
|
1892
|
+
the message and let them choose.
|
|
1889
1893
|
- |-
|
|
1890
1894
|
With a `_connectionId` (BYOK) a model the catalog does not list is passed
|
|
1891
1895
|
through to the provider as-is; a catalog-listed model is still governed by
|
|
@@ -1899,6 +1903,10 @@ components:
|
|
|
1899
1903
|
- |-
|
|
1900
1904
|
When `provider` is "anthropic", the value must be between 0 and 1 — a higher value
|
|
1901
1905
|
fails the save with 422 `invalid_field_value`. Gemini accepts the full 0-2 range.
|
|
1906
|
+
- |-
|
|
1907
|
+
The AI agent form offers no `temperature`, `topP` or `topK` on the Gemini 3 text
|
|
1908
|
+
models, though the save and the run accept all three there. Leave them unset on
|
|
1909
|
+
those models unless the user asks for one.
|
|
1902
1910
|
maxCompletionTokens:
|
|
1903
1911
|
type: number
|
|
1904
1912
|
minimum: 100
|
|
@@ -2208,34 +2216,64 @@ components:
|
|
|
2208
2216
|
description: Top-K sampling parameter for Gemini
|
|
2209
2217
|
thinkingConfig:
|
|
2210
2218
|
type: object
|
|
2211
|
-
description:
|
|
2219
|
+
description: |-
|
|
2220
|
+
Controls how much the model reasons before it answers. Gemini 3 models take
|
|
2221
|
+
`thinkingLevel` and Gemini 2.5 models take `thinkingBudget`; send one of the
|
|
2222
|
+
two, because both together fail the save with 422 `invalid_thinking_config`.
|
|
2212
2223
|
x-celigo-ai-guidance:
|
|
2213
2224
|
- |-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
`
|
|
2218
|
-
|
|
2219
|
-
field
|
|
2225
|
+
Match the setting to the model family. A `thinkingLevel` on a Gemini 2.5 model
|
|
2226
|
+
saves, but every run then fails with the provider's 400 "thinking_level is not
|
|
2227
|
+
supported by this model". A `thinkingBudget` alone on a Gemini 3 model still
|
|
2228
|
+
runs; set `thinkingLevel` there instead.
|
|
2229
|
+
- |-
|
|
2230
|
+
Leaving the field out does not turn reasoning off: a Gemini 3 model without a
|
|
2231
|
+
`thinkingConfig` still reasons — on the flash-lite models more than at
|
|
2232
|
+
`minimal`. The AI agent form starts each model on a default of its own.
|
|
2233
|
+
- |-
|
|
2234
|
+
Omit the field on image models: on `gemini-2.5-flash-image` any
|
|
2235
|
+
`thinkingConfig`, even `includeThoughts` alone, fails the run with a provider
|
|
2236
|
+
400 ("thinking is not supported by this model" for a `thinkingBudget`).
|
|
2237
|
+
not:
|
|
2238
|
+
required:
|
|
2239
|
+
- thinkingBudget
|
|
2240
|
+
- thinkingLevel
|
|
2220
2241
|
properties:
|
|
2221
2242
|
includeThoughts:
|
|
2222
2243
|
type: boolean
|
|
2223
2244
|
description: When true, includes the model's thinking steps in the response.
|
|
2224
2245
|
x-celigo-ai-guidance:
|
|
2225
|
-
-
|
|
2246
|
+
- |-
|
|
2247
|
+
Setting this to false is not a way to stop the reasoning: with no
|
|
2248
|
+
`thinkingLevel`, `gemini-3.6-flash` still reasons at its own default. To keep
|
|
2249
|
+
reasoning low, set the lowest `thinkingLevel` the model offers.
|
|
2226
2250
|
thinkingBudget:
|
|
2227
2251
|
type: number
|
|
2228
2252
|
minimum: 100
|
|
2229
2253
|
maximum: 4000
|
|
2230
|
-
description: Maximum tokens
|
|
2254
|
+
description: Maximum tokens a Gemini 2.5 model may spend thinking. Leave it unset on Gemini 3 models, which take `thinkingLevel`.
|
|
2255
|
+
x-celigo-ai-guidance:
|
|
2256
|
+
- |-
|
|
2257
|
+
For an effort asked for in words, use what the AI agent form's Reasoning
|
|
2258
|
+
effort cards write: 4000 for high, 2000 for medium, 1000 for low and 100 for
|
|
2259
|
+
minimal. A value above 4000 or below 100 fails the save with 422 `max` or `min`.
|
|
2260
|
+
- |-
|
|
2261
|
+
`gemini-2.5-pro` runs only from 128 and `gemini-2.5-flash-lite` only from 512. A
|
|
2262
|
+
value from 100 up to that floor saves, and every run then fails with the
|
|
2263
|
+
provider's 400 "thinking_budget is out of range".
|
|
2231
2264
|
thinkingLevel:
|
|
2232
2265
|
type: string
|
|
2233
|
-
description: Controls how much thinking effort
|
|
2266
|
+
description: Controls how much thinking effort a Gemini 3 model applies; use higher levels for complex, multi-step tasks at the cost of latency and tokens. Leave it unset on Gemini 2.5 models, which take `thinkingBudget`.
|
|
2234
2267
|
enum:
|
|
2235
2268
|
- minimal
|
|
2236
2269
|
- low
|
|
2237
2270
|
- medium
|
|
2238
2271
|
- high
|
|
2272
|
+
x-celigo-ai-guidance:
|
|
2273
|
+
- |-
|
|
2274
|
+
`gemini-3.8-flash` and `gemini-3.7-flash` offer `low`, `medium` and `high` in
|
|
2275
|
+
the AI agent form. `minimal` saves and runs on them, but the model still
|
|
2276
|
+
reasons; use `low` there.
|
|
2239
2277
|
x-enumDescriptions:
|
|
2240
2278
|
minimal: Least thinking effort for simple tasks.
|
|
2241
2279
|
low: Light thinking for moderately simple tasks.
|
|
@@ -2593,6 +2631,22 @@ components:
|
|
|
2593
2631
|
type: string
|
|
2594
2632
|
resources:
|
|
2595
2633
|
$ref: '#/components/schemas/McpResources'
|
|
2634
|
+
if:
|
|
2635
|
+
properties:
|
|
2636
|
+
model:
|
|
2637
|
+
pattern: ^gemini-2\.
|
|
2638
|
+
required:
|
|
2639
|
+
- model
|
|
2640
|
+
then:
|
|
2641
|
+
properties:
|
|
2642
|
+
_overrides:
|
|
2643
|
+
properties:
|
|
2644
|
+
gemini:
|
|
2645
|
+
properties:
|
|
2646
|
+
thinkingConfig:
|
|
2647
|
+
not:
|
|
2648
|
+
required:
|
|
2649
|
+
- thinkingLevel
|
|
2596
2650
|
if:
|
|
2597
2651
|
properties:
|
|
2598
2652
|
provider:
|
package/dist/guardrail.yml
CHANGED
|
@@ -1201,6 +1201,7 @@ components:
|
|
|
1201
1201
|
LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
|
|
1202
1202
|
prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
|
|
1203
1203
|
examples:
|
|
1204
|
+
- gemini-3.6-flash
|
|
1204
1205
|
- gemini-2.5-flash
|
|
1205
1206
|
- gemini-2.5-pro
|
|
1206
1207
|
- gemini-2.5-flash-lite
|
|
@@ -1214,11 +1215,13 @@ components:
|
|
|
1214
1215
|
provider on its own credentials — Gemini and Anthropic Claude each have
|
|
1215
1216
|
their own rows. The save checks this: a model that is not in the catalog
|
|
1216
1217
|
fails with 422 `ai_model_not_in_catalog` on
|
|
1217
|
-
`guardrail.aiAgent.litellm.model`, a
|
|
1218
|
-
(the
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1218
|
+
`guardrail.aiAgent.litellm.model`, a row offered only with a BYOK
|
|
1219
|
+
connection (the Gemini 3 image models `gemini-3.1-flash-image` and
|
|
1220
|
+
`gemini-3-pro-image`) with `ai_model_not_available`, a retired one with
|
|
1221
|
+
`ai_model_retired` (the message names the retirement date and, when any
|
|
1222
|
+
remain eligible, the suggested next models), a switched-off one with
|
|
1223
|
+
`ai_model_disabled`; a deprecated model saves. Never swap the model on the
|
|
1224
|
+
user's behalf — relay the message and let them choose.
|
|
1222
1225
|
- |-
|
|
1223
1226
|
With a `_connectionId` (BYOK) a model the catalog does not list is passed
|
|
1224
1227
|
through to the provider as-is; a catalog-listed model is still governed by
|
|
@@ -1403,15 +1406,19 @@ components:
|
|
|
1403
1406
|
description: Top-K sampling parameter for Gemini
|
|
1404
1407
|
thinkingConfig:
|
|
1405
1408
|
type: object
|
|
1406
|
-
description:
|
|
1409
|
+
description: |-
|
|
1410
|
+
Saved with the guardrail but not sent to the model: a guardrail's run passes no
|
|
1411
|
+
thinking settings, so the model's default thinking applies whatever this holds.
|
|
1407
1412
|
x-celigo-ai-guidance:
|
|
1408
1413
|
- |-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
`
|
|
1413
|
-
|
|
1414
|
-
|
|
1414
|
+
Omit the field on a guardrail. Its run never sends it (a `thinkingLevel` on a
|
|
1415
|
+
Gemini 2.5 model, which fails an AI agent's run, does not fail a guardrail's),
|
|
1416
|
+
but the save still checks it: `thinkingBudget` together with `thinkingLevel`
|
|
1417
|
+
fails with 422 `invalid_thinking_config`.
|
|
1418
|
+
not:
|
|
1419
|
+
required:
|
|
1420
|
+
- thinkingBudget
|
|
1421
|
+
- thinkingLevel
|
|
1415
1422
|
properties:
|
|
1416
1423
|
includeThoughts:
|
|
1417
1424
|
type: boolean
|
package/dist/import.yml
CHANGED
|
@@ -4641,8 +4641,10 @@ components:
|
|
|
4641
4641
|
on placement:
|
|
4642
4642
|
* Line-level (on `lists[].fields[].`
|
|
4643
4643
|
`subRecordMapping`) — the array of lines the
|
|
4644
|
-
sublist iterates (`lineItems`); `$` only
|
|
4645
|
-
each record is itself one line
|
|
4644
|
+
sublist iterates (`lineItems`, `items`); `$` only
|
|
4645
|
+
when each record is itself one line — on an item
|
|
4646
|
+
fulfillment whose lines sat under a field, `$`
|
|
4647
|
+
rendered no subrecord.
|
|
4646
4648
|
* Body-level (on `fields[].subRecordMapping`)
|
|
4647
4649
|
— a path into the source record root.
|
|
4648
4650
|
Defaults to `$`.
|
|
@@ -5033,10 +5035,12 @@ components:
|
|
|
5033
5035
|
one line. Defaults to `$`.
|
|
5034
5036
|
x-celigo-ai-guidance:
|
|
5035
5037
|
- |-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
(
|
|
5038
|
+
On an item fulfillment whose lines sat under a field of the source record
|
|
5039
|
+
(`items`), an inventory detail with `$` rendered no subrecord for any line and
|
|
5040
|
+
the save failed with `Please configure the inventory detail in line 2 of the
|
|
5041
|
+
item list` (line 2 was its first lot-numbered line); with the line array
|
|
5042
|
+
named (`items`) it saved. Name the line array (`lineItems`, `items`), never
|
|
5043
|
+
the current-line context.
|
|
5040
5044
|
mapping:
|
|
5041
5045
|
type: object
|
|
5042
5046
|
description: |
|
|
@@ -5148,10 +5152,10 @@ components:
|
|
|
5148
5152
|
line that matches none is added as a new line, which an item fulfillment's `item` sublist
|
|
5149
5153
|
refuses with `SSS_INVALID_SUBLIST_OPERATION`: its lines are its order's.
|
|
5150
5154
|
|
|
5151
|
-
On a fulfillment created from an order, a kit's lot
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
+
On a fulfillment created from an order, a kit's lot-managed components are lines of their own
|
|
5156
|
+
under the kit's line, each with its own `line` and `orderline` (the component's own order
|
|
5157
|
+
line) and `kitmemberof` holding the kit line's id; the inventory detail belongs on those
|
|
5158
|
+
component lines, and a kit line refuses it. Serial- and bin-managed components were not read.
|
|
5155
5159
|
x-celigo-ai-guidance:
|
|
5156
5160
|
- |-
|
|
5157
5161
|
To make an update replace a sublist's lines, also map the body field
|
|
@@ -5168,8 +5172,8 @@ components:
|
|
|
5168
5172
|
that already hold repeated lines fail the same way once a key is set.
|
|
5169
5173
|
- |-
|
|
5170
5174
|
A key field is read from the existing lines, never written, so a read-only field keys as well
|
|
5171
|
-
as a writable one. The mapper's "Items : Line ID" is `line` (the fulfillment's own line number
|
|
5172
|
-
|
|
5175
|
+
as a writable one. The mapper's "Items : Line ID" is `line` (the fulfillment's own line number;
|
|
5176
|
+
on a fresh full transform it held the same ids as `orderline`) and "Items : Line Number" is `linenum`;
|
|
5173
5177
|
`orderline` and `kitmemberof` are not in its picker — type `item[*].orderline` /
|
|
5174
5178
|
`item[*].kitmemberof` as the destination (the metadata id form of a sublist field; the
|
|
5175
5179
|
document stores `orderline` / `kitmemberof` under `lists[]` with `generate: item`).
|
|
@@ -10961,6 +10965,7 @@ components:
|
|
|
10961
10965
|
LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
|
|
10962
10966
|
prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
|
|
10963
10967
|
examples:
|
|
10968
|
+
- gemini-3.6-flash
|
|
10964
10969
|
- gemini-2.5-flash
|
|
10965
10970
|
- gemini-2.5-pro
|
|
10966
10971
|
- gemini-2.5-flash-lite
|
|
@@ -10974,10 +10979,13 @@ components:
|
|
|
10974
10979
|
provider on its own credentials — Gemini and Anthropic Claude each have
|
|
10975
10980
|
their own rows. The save checks this: a model that is not in the catalog
|
|
10976
10981
|
fails with 422 `ai_model_not_in_catalog` on `aiAgent.litellm.model`, a
|
|
10977
|
-
|
|
10978
|
-
|
|
10979
|
-
|
|
10980
|
-
|
|
10982
|
+
row offered only with a BYOK connection (the Gemini 3 image models
|
|
10983
|
+
`gemini-3.1-flash-image` and `gemini-3-pro-image`) with
|
|
10984
|
+
`ai_model_not_available`, a retired one with `ai_model_retired` (the
|
|
10985
|
+
message names the retirement date and, when any remain eligible, the
|
|
10986
|
+
suggested next models), a switched-off one with `ai_model_disabled`; a
|
|
10987
|
+
deprecated model saves. Never swap the model on the user's behalf — relay
|
|
10988
|
+
the message and let them choose.
|
|
10981
10989
|
- |-
|
|
10982
10990
|
With a `_connectionId` (BYOK) a model the catalog does not list is passed
|
|
10983
10991
|
through to the provider as-is; a catalog-listed model is still governed by
|
|
@@ -10991,6 +10999,10 @@ components:
|
|
|
10991
10999
|
- |-
|
|
10992
11000
|
When `provider` is "anthropic", the value must be between 0 and 1 — a higher value
|
|
10993
11001
|
fails the save with 422 `invalid_field_value`. Gemini accepts the full 0-2 range.
|
|
11002
|
+
- |-
|
|
11003
|
+
The AI agent form offers no `temperature`, `topP` or `topK` on the Gemini 3 text
|
|
11004
|
+
models, though the save and the run accept all three there. Leave them unset on
|
|
11005
|
+
those models unless the user asks for one.
|
|
10994
11006
|
maxCompletionTokens:
|
|
10995
11007
|
type: number
|
|
10996
11008
|
minimum: 100
|
|
@@ -11300,34 +11312,64 @@ components:
|
|
|
11300
11312
|
description: Top-K sampling parameter for Gemini
|
|
11301
11313
|
thinkingConfig:
|
|
11302
11314
|
type: object
|
|
11303
|
-
description:
|
|
11315
|
+
description: |-
|
|
11316
|
+
Controls how much the model reasons before it answers. Gemini 3 models take
|
|
11317
|
+
`thinkingLevel` and Gemini 2.5 models take `thinkingBudget`; send one of the
|
|
11318
|
+
two, because both together fail the save with 422 `invalid_thinking_config`.
|
|
11304
11319
|
x-celigo-ai-guidance:
|
|
11305
11320
|
- |-
|
|
11306
|
-
|
|
11307
|
-
|
|
11308
|
-
|
|
11309
|
-
`
|
|
11310
|
-
|
|
11311
|
-
field
|
|
11321
|
+
Match the setting to the model family. A `thinkingLevel` on a Gemini 2.5 model
|
|
11322
|
+
saves, but every run then fails with the provider's 400 "thinking_level is not
|
|
11323
|
+
supported by this model". A `thinkingBudget` alone on a Gemini 3 model still
|
|
11324
|
+
runs; set `thinkingLevel` there instead.
|
|
11325
|
+
- |-
|
|
11326
|
+
Leaving the field out does not turn reasoning off: a Gemini 3 model without a
|
|
11327
|
+
`thinkingConfig` still reasons — on the flash-lite models more than at
|
|
11328
|
+
`minimal`. The AI agent form starts each model on a default of its own.
|
|
11329
|
+
- |-
|
|
11330
|
+
Omit the field on image models: on `gemini-2.5-flash-image` any
|
|
11331
|
+
`thinkingConfig`, even `includeThoughts` alone, fails the run with a provider
|
|
11332
|
+
400 ("thinking is not supported by this model" for a `thinkingBudget`).
|
|
11333
|
+
not:
|
|
11334
|
+
required:
|
|
11335
|
+
- thinkingBudget
|
|
11336
|
+
- thinkingLevel
|
|
11312
11337
|
properties:
|
|
11313
11338
|
includeThoughts:
|
|
11314
11339
|
type: boolean
|
|
11315
11340
|
description: When true, includes the model's thinking steps in the response.
|
|
11316
11341
|
x-celigo-ai-guidance:
|
|
11317
|
-
-
|
|
11342
|
+
- |-
|
|
11343
|
+
Setting this to false is not a way to stop the reasoning: with no
|
|
11344
|
+
`thinkingLevel`, `gemini-3.6-flash` still reasons at its own default. To keep
|
|
11345
|
+
reasoning low, set the lowest `thinkingLevel` the model offers.
|
|
11318
11346
|
thinkingBudget:
|
|
11319
11347
|
type: number
|
|
11320
11348
|
minimum: 100
|
|
11321
11349
|
maximum: 4000
|
|
11322
|
-
description: Maximum tokens
|
|
11350
|
+
description: Maximum tokens a Gemini 2.5 model may spend thinking. Leave it unset on Gemini 3 models, which take `thinkingLevel`.
|
|
11351
|
+
x-celigo-ai-guidance:
|
|
11352
|
+
- |-
|
|
11353
|
+
For an effort asked for in words, use what the AI agent form's Reasoning
|
|
11354
|
+
effort cards write: 4000 for high, 2000 for medium, 1000 for low and 100 for
|
|
11355
|
+
minimal. A value above 4000 or below 100 fails the save with 422 `max` or `min`.
|
|
11356
|
+
- |-
|
|
11357
|
+
`gemini-2.5-pro` runs only from 128 and `gemini-2.5-flash-lite` only from 512. A
|
|
11358
|
+
value from 100 up to that floor saves, and every run then fails with the
|
|
11359
|
+
provider's 400 "thinking_budget is out of range".
|
|
11323
11360
|
thinkingLevel:
|
|
11324
11361
|
type: string
|
|
11325
|
-
description: Controls how much thinking effort
|
|
11362
|
+
description: Controls how much thinking effort a Gemini 3 model applies; use higher levels for complex, multi-step tasks at the cost of latency and tokens. Leave it unset on Gemini 2.5 models, which take `thinkingBudget`.
|
|
11326
11363
|
enum:
|
|
11327
11364
|
- minimal
|
|
11328
11365
|
- low
|
|
11329
11366
|
- medium
|
|
11330
11367
|
- high
|
|
11368
|
+
x-celigo-ai-guidance:
|
|
11369
|
+
- |-
|
|
11370
|
+
`gemini-3.8-flash` and `gemini-3.7-flash` offer `low`, `medium` and `high` in
|
|
11371
|
+
the AI agent form. `minimal` saves and runs on them, but the model still
|
|
11372
|
+
reasons; use `low` there.
|
|
11331
11373
|
x-enumDescriptions:
|
|
11332
11374
|
minimal: Least thinking effort for simple tasks.
|
|
11333
11375
|
low: Light thinking for moderately simple tasks.
|
|
@@ -11685,6 +11727,22 @@ components:
|
|
|
11685
11727
|
type: string
|
|
11686
11728
|
resources:
|
|
11687
11729
|
$ref: '#/components/schemas/McpResources'
|
|
11730
|
+
if:
|
|
11731
|
+
properties:
|
|
11732
|
+
model:
|
|
11733
|
+
pattern: ^gemini-2\.
|
|
11734
|
+
required:
|
|
11735
|
+
- model
|
|
11736
|
+
then:
|
|
11737
|
+
properties:
|
|
11738
|
+
_overrides:
|
|
11739
|
+
properties:
|
|
11740
|
+
gemini:
|
|
11741
|
+
properties:
|
|
11742
|
+
thinkingConfig:
|
|
11743
|
+
not:
|
|
11744
|
+
required:
|
|
11745
|
+
- thinkingLevel
|
|
11688
11746
|
if:
|
|
11689
11747
|
properties:
|
|
11690
11748
|
provider:
|
|
@@ -12336,6 +12394,7 @@ components:
|
|
|
12336
12394
|
LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
|
|
12337
12395
|
prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
|
|
12338
12396
|
examples:
|
|
12397
|
+
- gemini-3.6-flash
|
|
12339
12398
|
- gemini-2.5-flash
|
|
12340
12399
|
- gemini-2.5-pro
|
|
12341
12400
|
- gemini-2.5-flash-lite
|
|
@@ -12349,11 +12408,13 @@ components:
|
|
|
12349
12408
|
provider on its own credentials — Gemini and Anthropic Claude each have
|
|
12350
12409
|
their own rows. The save checks this: a model that is not in the catalog
|
|
12351
12410
|
fails with 422 `ai_model_not_in_catalog` on
|
|
12352
|
-
`guardrail.aiAgent.litellm.model`, a
|
|
12353
|
-
(the
|
|
12354
|
-
|
|
12355
|
-
|
|
12356
|
-
|
|
12411
|
+
`guardrail.aiAgent.litellm.model`, a row offered only with a BYOK
|
|
12412
|
+
connection (the Gemini 3 image models `gemini-3.1-flash-image` and
|
|
12413
|
+
`gemini-3-pro-image`) with `ai_model_not_available`, a retired one with
|
|
12414
|
+
`ai_model_retired` (the message names the retirement date and, when any
|
|
12415
|
+
remain eligible, the suggested next models), a switched-off one with
|
|
12416
|
+
`ai_model_disabled`; a deprecated model saves. Never swap the model on the
|
|
12417
|
+
user's behalf — relay the message and let them choose.
|
|
12357
12418
|
- |-
|
|
12358
12419
|
With a `_connectionId` (BYOK) a model the catalog does not list is passed
|
|
12359
12420
|
through to the provider as-is; a catalog-listed model is still governed by
|
|
@@ -12538,15 +12599,19 @@ components:
|
|
|
12538
12599
|
description: Top-K sampling parameter for Gemini
|
|
12539
12600
|
thinkingConfig:
|
|
12540
12601
|
type: object
|
|
12541
|
-
description:
|
|
12602
|
+
description: |-
|
|
12603
|
+
Saved with the guardrail but not sent to the model: a guardrail's run passes no
|
|
12604
|
+
thinking settings, so the model's default thinking applies whatever this holds.
|
|
12542
12605
|
x-celigo-ai-guidance:
|
|
12543
12606
|
- |-
|
|
12544
|
-
|
|
12545
|
-
|
|
12546
|
-
|
|
12547
|
-
`
|
|
12548
|
-
|
|
12549
|
-
|
|
12607
|
+
Omit the field on a guardrail. Its run never sends it (a `thinkingLevel` on a
|
|
12608
|
+
Gemini 2.5 model, which fails an AI agent's run, does not fail a guardrail's),
|
|
12609
|
+
but the save still checks it: `thinkingBudget` together with `thinkingLevel`
|
|
12610
|
+
fails with 422 `invalid_thinking_config`.
|
|
12611
|
+
not:
|
|
12612
|
+
required:
|
|
12613
|
+
- thinkingBudget
|
|
12614
|
+
- thinkingLevel
|
|
12550
12615
|
properties:
|
|
12551
12616
|
includeThoughts:
|
|
12552
12617
|
type: boolean
|
package/dist/tool.yml
CHANGED
|
@@ -17325,8 +17325,10 @@ components:
|
|
|
17325
17325
|
on placement:
|
|
17326
17326
|
* Line-level (on `lists[].fields[].`
|
|
17327
17327
|
`subRecordMapping`) — the array of lines the
|
|
17328
|
-
sublist iterates (`lineItems`); `$` only
|
|
17329
|
-
each record is itself one line
|
|
17328
|
+
sublist iterates (`lineItems`, `items`); `$` only
|
|
17329
|
+
when each record is itself one line — on an item
|
|
17330
|
+
fulfillment whose lines sat under a field, `$`
|
|
17331
|
+
rendered no subrecord.
|
|
17330
17332
|
* Body-level (on `fields[].subRecordMapping`)
|
|
17331
17333
|
— a path into the source record root.
|
|
17332
17334
|
Defaults to `$`.
|
|
@@ -17717,10 +17719,12 @@ components:
|
|
|
17717
17719
|
one line. Defaults to `$`.
|
|
17718
17720
|
x-celigo-ai-guidance:
|
|
17719
17721
|
- |-
|
|
17720
|
-
|
|
17721
|
-
|
|
17722
|
-
|
|
17723
|
-
(
|
|
17722
|
+
On an item fulfillment whose lines sat under a field of the source record
|
|
17723
|
+
(`items`), an inventory detail with `$` rendered no subrecord for any line and
|
|
17724
|
+
the save failed with `Please configure the inventory detail in line 2 of the
|
|
17725
|
+
item list` (line 2 was its first lot-numbered line); with the line array
|
|
17726
|
+
named (`items`) it saved. Name the line array (`lineItems`, `items`), never
|
|
17727
|
+
the current-line context.
|
|
17724
17728
|
mapping:
|
|
17725
17729
|
type: object
|
|
17726
17730
|
description: |
|
|
@@ -17832,10 +17836,10 @@ components:
|
|
|
17832
17836
|
line that matches none is added as a new line, which an item fulfillment's `item` sublist
|
|
17833
17837
|
refuses with `SSS_INVALID_SUBLIST_OPERATION`: its lines are its order's.
|
|
17834
17838
|
|
|
17835
|
-
On a fulfillment created from an order, a kit's lot
|
|
17836
|
-
|
|
17837
|
-
|
|
17838
|
-
|
|
17839
|
+
On a fulfillment created from an order, a kit's lot-managed components are lines of their own
|
|
17840
|
+
under the kit's line, each with its own `line` and `orderline` (the component's own order
|
|
17841
|
+
line) and `kitmemberof` holding the kit line's id; the inventory detail belongs on those
|
|
17842
|
+
component lines, and a kit line refuses it. Serial- and bin-managed components were not read.
|
|
17839
17843
|
x-celigo-ai-guidance:
|
|
17840
17844
|
- |-
|
|
17841
17845
|
To make an update replace a sublist's lines, also map the body field
|
|
@@ -17852,8 +17856,8 @@ components:
|
|
|
17852
17856
|
that already hold repeated lines fail the same way once a key is set.
|
|
17853
17857
|
- |-
|
|
17854
17858
|
A key field is read from the existing lines, never written, so a read-only field keys as well
|
|
17855
|
-
as a writable one. The mapper's "Items : Line ID" is `line` (the fulfillment's own line number
|
|
17856
|
-
|
|
17859
|
+
as a writable one. The mapper's "Items : Line ID" is `line` (the fulfillment's own line number;
|
|
17860
|
+
on a fresh full transform it held the same ids as `orderline`) and "Items : Line Number" is `linenum`;
|
|
17857
17861
|
`orderline` and `kitmemberof` are not in its picker — type `item[*].orderline` /
|
|
17858
17862
|
`item[*].kitmemberof` as the destination (the metadata id form of a sublist field; the
|
|
17859
17863
|
document stores `orderline` / `kitmemberof` under `lists[]` with `generate: item`).
|
|
@@ -23359,6 +23363,7 @@ components:
|
|
|
23359
23363
|
LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
|
|
23360
23364
|
prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
|
|
23361
23365
|
examples:
|
|
23366
|
+
- gemini-3.6-flash
|
|
23362
23367
|
- gemini-2.5-flash
|
|
23363
23368
|
- gemini-2.5-pro
|
|
23364
23369
|
- gemini-2.5-flash-lite
|
|
@@ -23372,10 +23377,13 @@ components:
|
|
|
23372
23377
|
provider on its own credentials — Gemini and Anthropic Claude each have
|
|
23373
23378
|
their own rows. The save checks this: a model that is not in the catalog
|
|
23374
23379
|
fails with 422 `ai_model_not_in_catalog` on `aiAgent.litellm.model`, a
|
|
23375
|
-
|
|
23376
|
-
|
|
23377
|
-
|
|
23378
|
-
|
|
23380
|
+
row offered only with a BYOK connection (the Gemini 3 image models
|
|
23381
|
+
`gemini-3.1-flash-image` and `gemini-3-pro-image`) with
|
|
23382
|
+
`ai_model_not_available`, a retired one with `ai_model_retired` (the
|
|
23383
|
+
message names the retirement date and, when any remain eligible, the
|
|
23384
|
+
suggested next models), a switched-off one with `ai_model_disabled`; a
|
|
23385
|
+
deprecated model saves. Never swap the model on the user's behalf — relay
|
|
23386
|
+
the message and let them choose.
|
|
23379
23387
|
- |-
|
|
23380
23388
|
With a `_connectionId` (BYOK) a model the catalog does not list is passed
|
|
23381
23389
|
through to the provider as-is; a catalog-listed model is still governed by
|
|
@@ -23389,6 +23397,10 @@ components:
|
|
|
23389
23397
|
- |-
|
|
23390
23398
|
When `provider` is "anthropic", the value must be between 0 and 1 — a higher value
|
|
23391
23399
|
fails the save with 422 `invalid_field_value`. Gemini accepts the full 0-2 range.
|
|
23400
|
+
- |-
|
|
23401
|
+
The AI agent form offers no `temperature`, `topP` or `topK` on the Gemini 3 text
|
|
23402
|
+
models, though the save and the run accept all three there. Leave them unset on
|
|
23403
|
+
those models unless the user asks for one.
|
|
23392
23404
|
maxCompletionTokens:
|
|
23393
23405
|
type: number
|
|
23394
23406
|
minimum: 100
|
|
@@ -23698,34 +23710,64 @@ components:
|
|
|
23698
23710
|
description: Top-K sampling parameter for Gemini
|
|
23699
23711
|
thinkingConfig:
|
|
23700
23712
|
type: object
|
|
23701
|
-
description:
|
|
23713
|
+
description: |-
|
|
23714
|
+
Controls how much the model reasons before it answers. Gemini 3 models take
|
|
23715
|
+
`thinkingLevel` and Gemini 2.5 models take `thinkingBudget`; send one of the
|
|
23716
|
+
two, because both together fail the save with 422 `invalid_thinking_config`.
|
|
23702
23717
|
x-celigo-ai-guidance:
|
|
23703
23718
|
- |-
|
|
23704
|
-
|
|
23705
|
-
|
|
23706
|
-
|
|
23707
|
-
`
|
|
23708
|
-
|
|
23709
|
-
field
|
|
23719
|
+
Match the setting to the model family. A `thinkingLevel` on a Gemini 2.5 model
|
|
23720
|
+
saves, but every run then fails with the provider's 400 "thinking_level is not
|
|
23721
|
+
supported by this model". A `thinkingBudget` alone on a Gemini 3 model still
|
|
23722
|
+
runs; set `thinkingLevel` there instead.
|
|
23723
|
+
- |-
|
|
23724
|
+
Leaving the field out does not turn reasoning off: a Gemini 3 model without a
|
|
23725
|
+
`thinkingConfig` still reasons — on the flash-lite models more than at
|
|
23726
|
+
`minimal`. The AI agent form starts each model on a default of its own.
|
|
23727
|
+
- |-
|
|
23728
|
+
Omit the field on image models: on `gemini-2.5-flash-image` any
|
|
23729
|
+
`thinkingConfig`, even `includeThoughts` alone, fails the run with a provider
|
|
23730
|
+
400 ("thinking is not supported by this model" for a `thinkingBudget`).
|
|
23731
|
+
not:
|
|
23732
|
+
required:
|
|
23733
|
+
- thinkingBudget
|
|
23734
|
+
- thinkingLevel
|
|
23710
23735
|
properties:
|
|
23711
23736
|
includeThoughts:
|
|
23712
23737
|
type: boolean
|
|
23713
23738
|
description: When true, includes the model's thinking steps in the response.
|
|
23714
23739
|
x-celigo-ai-guidance:
|
|
23715
|
-
-
|
|
23740
|
+
- |-
|
|
23741
|
+
Setting this to false is not a way to stop the reasoning: with no
|
|
23742
|
+
`thinkingLevel`, `gemini-3.6-flash` still reasons at its own default. To keep
|
|
23743
|
+
reasoning low, set the lowest `thinkingLevel` the model offers.
|
|
23716
23744
|
thinkingBudget:
|
|
23717
23745
|
type: number
|
|
23718
23746
|
minimum: 100
|
|
23719
23747
|
maximum: 4000
|
|
23720
|
-
description: Maximum tokens
|
|
23748
|
+
description: Maximum tokens a Gemini 2.5 model may spend thinking. Leave it unset on Gemini 3 models, which take `thinkingLevel`.
|
|
23749
|
+
x-celigo-ai-guidance:
|
|
23750
|
+
- |-
|
|
23751
|
+
For an effort asked for in words, use what the AI agent form's Reasoning
|
|
23752
|
+
effort cards write: 4000 for high, 2000 for medium, 1000 for low and 100 for
|
|
23753
|
+
minimal. A value above 4000 or below 100 fails the save with 422 `max` or `min`.
|
|
23754
|
+
- |-
|
|
23755
|
+
`gemini-2.5-pro` runs only from 128 and `gemini-2.5-flash-lite` only from 512. A
|
|
23756
|
+
value from 100 up to that floor saves, and every run then fails with the
|
|
23757
|
+
provider's 400 "thinking_budget is out of range".
|
|
23721
23758
|
thinkingLevel:
|
|
23722
23759
|
type: string
|
|
23723
|
-
description: Controls how much thinking effort
|
|
23760
|
+
description: Controls how much thinking effort a Gemini 3 model applies; use higher levels for complex, multi-step tasks at the cost of latency and tokens. Leave it unset on Gemini 2.5 models, which take `thinkingBudget`.
|
|
23724
23761
|
enum:
|
|
23725
23762
|
- minimal
|
|
23726
23763
|
- low
|
|
23727
23764
|
- medium
|
|
23728
23765
|
- high
|
|
23766
|
+
x-celigo-ai-guidance:
|
|
23767
|
+
- |-
|
|
23768
|
+
`gemini-3.8-flash` and `gemini-3.7-flash` offer `low`, `medium` and `high` in
|
|
23769
|
+
the AI agent form. `minimal` saves and runs on them, but the model still
|
|
23770
|
+
reasons; use `low` there.
|
|
23729
23771
|
x-enumDescriptions:
|
|
23730
23772
|
minimal: Least thinking effort for simple tasks.
|
|
23731
23773
|
low: Light thinking for moderately simple tasks.
|
|
@@ -24083,6 +24125,22 @@ components:
|
|
|
24083
24125
|
type: string
|
|
24084
24126
|
resources:
|
|
24085
24127
|
$ref: '#/components/schemas/McpResources'
|
|
24128
|
+
if:
|
|
24129
|
+
properties:
|
|
24130
|
+
model:
|
|
24131
|
+
pattern: ^gemini-2\.
|
|
24132
|
+
required:
|
|
24133
|
+
- model
|
|
24134
|
+
then:
|
|
24135
|
+
properties:
|
|
24136
|
+
_overrides:
|
|
24137
|
+
properties:
|
|
24138
|
+
gemini:
|
|
24139
|
+
properties:
|
|
24140
|
+
thinkingConfig:
|
|
24141
|
+
not:
|
|
24142
|
+
required:
|
|
24143
|
+
- thinkingLevel
|
|
24086
24144
|
if:
|
|
24087
24145
|
properties:
|
|
24088
24146
|
provider:
|
|
@@ -24734,6 +24792,7 @@ components:
|
|
|
24734
24792
|
LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
|
|
24735
24793
|
prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
|
|
24736
24794
|
examples:
|
|
24795
|
+
- gemini-3.6-flash
|
|
24737
24796
|
- gemini-2.5-flash
|
|
24738
24797
|
- gemini-2.5-pro
|
|
24739
24798
|
- gemini-2.5-flash-lite
|
|
@@ -24747,11 +24806,13 @@ components:
|
|
|
24747
24806
|
provider on its own credentials — Gemini and Anthropic Claude each have
|
|
24748
24807
|
their own rows. The save checks this: a model that is not in the catalog
|
|
24749
24808
|
fails with 422 `ai_model_not_in_catalog` on
|
|
24750
|
-
`guardrail.aiAgent.litellm.model`, a
|
|
24751
|
-
(the
|
|
24752
|
-
|
|
24753
|
-
|
|
24754
|
-
|
|
24809
|
+
`guardrail.aiAgent.litellm.model`, a row offered only with a BYOK
|
|
24810
|
+
connection (the Gemini 3 image models `gemini-3.1-flash-image` and
|
|
24811
|
+
`gemini-3-pro-image`) with `ai_model_not_available`, a retired one with
|
|
24812
|
+
`ai_model_retired` (the message names the retirement date and, when any
|
|
24813
|
+
remain eligible, the suggested next models), a switched-off one with
|
|
24814
|
+
`ai_model_disabled`; a deprecated model saves. Never swap the model on the
|
|
24815
|
+
user's behalf — relay the message and let them choose.
|
|
24755
24816
|
- |-
|
|
24756
24817
|
With a `_connectionId` (BYOK) a model the catalog does not list is passed
|
|
24757
24818
|
through to the provider as-is; a catalog-listed model is still governed by
|
|
@@ -24936,15 +24997,19 @@ components:
|
|
|
24936
24997
|
description: Top-K sampling parameter for Gemini
|
|
24937
24998
|
thinkingConfig:
|
|
24938
24999
|
type: object
|
|
24939
|
-
description:
|
|
25000
|
+
description: |-
|
|
25001
|
+
Saved with the guardrail but not sent to the model: a guardrail's run passes no
|
|
25002
|
+
thinking settings, so the model's default thinking applies whatever this holds.
|
|
24940
25003
|
x-celigo-ai-guidance:
|
|
24941
25004
|
- |-
|
|
24942
|
-
|
|
24943
|
-
|
|
24944
|
-
|
|
24945
|
-
`
|
|
24946
|
-
|
|
24947
|
-
|
|
25005
|
+
Omit the field on a guardrail. Its run never sends it (a `thinkingLevel` on a
|
|
25006
|
+
Gemini 2.5 model, which fails an AI agent's run, does not fail a guardrail's),
|
|
25007
|
+
but the save still checks it: `thinkingBudget` together with `thinkingLevel`
|
|
25008
|
+
fails with 422 `invalid_thinking_config`.
|
|
25009
|
+
not:
|
|
25010
|
+
required:
|
|
25011
|
+
- thinkingBudget
|
|
25012
|
+
- thinkingLevel
|
|
24948
25013
|
properties:
|
|
24949
25014
|
includeThoughts:
|
|
24950
25015
|
type: boolean
|
package/package.json
CHANGED