@celigo/api-specs 0.2.320 → 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 +87 -26
- package/dist/tool.yml +87 -26
- 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
|
@@ -10965,6 +10965,7 @@ components:
|
|
|
10965
10965
|
LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
|
|
10966
10966
|
prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
|
|
10967
10967
|
examples:
|
|
10968
|
+
- gemini-3.6-flash
|
|
10968
10969
|
- gemini-2.5-flash
|
|
10969
10970
|
- gemini-2.5-pro
|
|
10970
10971
|
- gemini-2.5-flash-lite
|
|
@@ -10978,10 +10979,13 @@ components:
|
|
|
10978
10979
|
provider on its own credentials — Gemini and Anthropic Claude each have
|
|
10979
10980
|
their own rows. The save checks this: a model that is not in the catalog
|
|
10980
10981
|
fails with 422 `ai_model_not_in_catalog` on `aiAgent.litellm.model`, a
|
|
10981
|
-
|
|
10982
|
-
|
|
10983
|
-
|
|
10984
|
-
|
|
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.
|
|
10985
10989
|
- |-
|
|
10986
10990
|
With a `_connectionId` (BYOK) a model the catalog does not list is passed
|
|
10987
10991
|
through to the provider as-is; a catalog-listed model is still governed by
|
|
@@ -10995,6 +10999,10 @@ components:
|
|
|
10995
10999
|
- |-
|
|
10996
11000
|
When `provider` is "anthropic", the value must be between 0 and 1 — a higher value
|
|
10997
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.
|
|
10998
11006
|
maxCompletionTokens:
|
|
10999
11007
|
type: number
|
|
11000
11008
|
minimum: 100
|
|
@@ -11304,34 +11312,64 @@ components:
|
|
|
11304
11312
|
description: Top-K sampling parameter for Gemini
|
|
11305
11313
|
thinkingConfig:
|
|
11306
11314
|
type: object
|
|
11307
|
-
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`.
|
|
11308
11319
|
x-celigo-ai-guidance:
|
|
11309
11320
|
- |-
|
|
11310
|
-
|
|
11311
|
-
|
|
11312
|
-
|
|
11313
|
-
`
|
|
11314
|
-
|
|
11315
|
-
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
|
|
11316
11337
|
properties:
|
|
11317
11338
|
includeThoughts:
|
|
11318
11339
|
type: boolean
|
|
11319
11340
|
description: When true, includes the model's thinking steps in the response.
|
|
11320
11341
|
x-celigo-ai-guidance:
|
|
11321
|
-
-
|
|
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.
|
|
11322
11346
|
thinkingBudget:
|
|
11323
11347
|
type: number
|
|
11324
11348
|
minimum: 100
|
|
11325
11349
|
maximum: 4000
|
|
11326
|
-
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".
|
|
11327
11360
|
thinkingLevel:
|
|
11328
11361
|
type: string
|
|
11329
|
-
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`.
|
|
11330
11363
|
enum:
|
|
11331
11364
|
- minimal
|
|
11332
11365
|
- low
|
|
11333
11366
|
- medium
|
|
11334
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.
|
|
11335
11373
|
x-enumDescriptions:
|
|
11336
11374
|
minimal: Least thinking effort for simple tasks.
|
|
11337
11375
|
low: Light thinking for moderately simple tasks.
|
|
@@ -11689,6 +11727,22 @@ components:
|
|
|
11689
11727
|
type: string
|
|
11690
11728
|
resources:
|
|
11691
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
|
|
11692
11746
|
if:
|
|
11693
11747
|
properties:
|
|
11694
11748
|
provider:
|
|
@@ -12340,6 +12394,7 @@ components:
|
|
|
12340
12394
|
LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
|
|
12341
12395
|
prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
|
|
12342
12396
|
examples:
|
|
12397
|
+
- gemini-3.6-flash
|
|
12343
12398
|
- gemini-2.5-flash
|
|
12344
12399
|
- gemini-2.5-pro
|
|
12345
12400
|
- gemini-2.5-flash-lite
|
|
@@ -12353,11 +12408,13 @@ components:
|
|
|
12353
12408
|
provider on its own credentials — Gemini and Anthropic Claude each have
|
|
12354
12409
|
their own rows. The save checks this: a model that is not in the catalog
|
|
12355
12410
|
fails with 422 `ai_model_not_in_catalog` on
|
|
12356
|
-
`guardrail.aiAgent.litellm.model`, a
|
|
12357
|
-
(the
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
|
|
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.
|
|
12361
12418
|
- |-
|
|
12362
12419
|
With a `_connectionId` (BYOK) a model the catalog does not list is passed
|
|
12363
12420
|
through to the provider as-is; a catalog-listed model is still governed by
|
|
@@ -12542,15 +12599,19 @@ components:
|
|
|
12542
12599
|
description: Top-K sampling parameter for Gemini
|
|
12543
12600
|
thinkingConfig:
|
|
12544
12601
|
type: object
|
|
12545
|
-
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.
|
|
12546
12605
|
x-celigo-ai-guidance:
|
|
12547
12606
|
- |-
|
|
12548
|
-
|
|
12549
|
-
|
|
12550
|
-
|
|
12551
|
-
`
|
|
12552
|
-
|
|
12553
|
-
|
|
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
|
|
12554
12615
|
properties:
|
|
12555
12616
|
includeThoughts:
|
|
12556
12617
|
type: boolean
|
package/dist/tool.yml
CHANGED
|
@@ -23363,6 +23363,7 @@ components:
|
|
|
23363
23363
|
LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
|
|
23364
23364
|
prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
|
|
23365
23365
|
examples:
|
|
23366
|
+
- gemini-3.6-flash
|
|
23366
23367
|
- gemini-2.5-flash
|
|
23367
23368
|
- gemini-2.5-pro
|
|
23368
23369
|
- gemini-2.5-flash-lite
|
|
@@ -23376,10 +23377,13 @@ components:
|
|
|
23376
23377
|
provider on its own credentials — Gemini and Anthropic Claude each have
|
|
23377
23378
|
their own rows. The save checks this: a model that is not in the catalog
|
|
23378
23379
|
fails with 422 `ai_model_not_in_catalog` on `aiAgent.litellm.model`, a
|
|
23379
|
-
|
|
23380
|
-
|
|
23381
|
-
|
|
23382
|
-
|
|
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.
|
|
23383
23387
|
- |-
|
|
23384
23388
|
With a `_connectionId` (BYOK) a model the catalog does not list is passed
|
|
23385
23389
|
through to the provider as-is; a catalog-listed model is still governed by
|
|
@@ -23393,6 +23397,10 @@ components:
|
|
|
23393
23397
|
- |-
|
|
23394
23398
|
When `provider` is "anthropic", the value must be between 0 and 1 — a higher value
|
|
23395
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.
|
|
23396
23404
|
maxCompletionTokens:
|
|
23397
23405
|
type: number
|
|
23398
23406
|
minimum: 100
|
|
@@ -23702,34 +23710,64 @@ components:
|
|
|
23702
23710
|
description: Top-K sampling parameter for Gemini
|
|
23703
23711
|
thinkingConfig:
|
|
23704
23712
|
type: object
|
|
23705
|
-
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`.
|
|
23706
23717
|
x-celigo-ai-guidance:
|
|
23707
23718
|
- |-
|
|
23708
|
-
|
|
23709
|
-
|
|
23710
|
-
|
|
23711
|
-
`
|
|
23712
|
-
|
|
23713
|
-
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
|
|
23714
23735
|
properties:
|
|
23715
23736
|
includeThoughts:
|
|
23716
23737
|
type: boolean
|
|
23717
23738
|
description: When true, includes the model's thinking steps in the response.
|
|
23718
23739
|
x-celigo-ai-guidance:
|
|
23719
|
-
-
|
|
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.
|
|
23720
23744
|
thinkingBudget:
|
|
23721
23745
|
type: number
|
|
23722
23746
|
minimum: 100
|
|
23723
23747
|
maximum: 4000
|
|
23724
|
-
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".
|
|
23725
23758
|
thinkingLevel:
|
|
23726
23759
|
type: string
|
|
23727
|
-
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`.
|
|
23728
23761
|
enum:
|
|
23729
23762
|
- minimal
|
|
23730
23763
|
- low
|
|
23731
23764
|
- medium
|
|
23732
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.
|
|
23733
23771
|
x-enumDescriptions:
|
|
23734
23772
|
minimal: Least thinking effort for simple tasks.
|
|
23735
23773
|
low: Light thinking for moderately simple tasks.
|
|
@@ -24087,6 +24125,22 @@ components:
|
|
|
24087
24125
|
type: string
|
|
24088
24126
|
resources:
|
|
24089
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
|
|
24090
24144
|
if:
|
|
24091
24145
|
properties:
|
|
24092
24146
|
provider:
|
|
@@ -24738,6 +24792,7 @@ components:
|
|
|
24738
24792
|
LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
|
|
24739
24793
|
prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
|
|
24740
24794
|
examples:
|
|
24795
|
+
- gemini-3.6-flash
|
|
24741
24796
|
- gemini-2.5-flash
|
|
24742
24797
|
- gemini-2.5-pro
|
|
24743
24798
|
- gemini-2.5-flash-lite
|
|
@@ -24751,11 +24806,13 @@ components:
|
|
|
24751
24806
|
provider on its own credentials — Gemini and Anthropic Claude each have
|
|
24752
24807
|
their own rows. The save checks this: a model that is not in the catalog
|
|
24753
24808
|
fails with 422 `ai_model_not_in_catalog` on
|
|
24754
|
-
`guardrail.aiAgent.litellm.model`, a
|
|
24755
|
-
(the
|
|
24756
|
-
|
|
24757
|
-
|
|
24758
|
-
|
|
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.
|
|
24759
24816
|
- |-
|
|
24760
24817
|
With a `_connectionId` (BYOK) a model the catalog does not list is passed
|
|
24761
24818
|
through to the provider as-is; a catalog-listed model is still governed by
|
|
@@ -24940,15 +24997,19 @@ components:
|
|
|
24940
24997
|
description: Top-K sampling parameter for Gemini
|
|
24941
24998
|
thinkingConfig:
|
|
24942
24999
|
type: object
|
|
24943
|
-
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.
|
|
24944
25003
|
x-celigo-ai-guidance:
|
|
24945
25004
|
- |-
|
|
24946
|
-
|
|
24947
|
-
|
|
24948
|
-
|
|
24949
|
-
`
|
|
24950
|
-
|
|
24951
|
-
|
|
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
|
|
24952
25013
|
properties:
|
|
24953
25014
|
includeThoughts:
|
|
24954
25015
|
type: boolean
|
package/package.json
CHANGED