Skip to content

Commit 5621191

Browse files
algolia-api-clients-automation-bot[bot]cursoragentFluf22
committed
fix(specs): sync agent-studio OpenAPI from conversational-ai (generated)
algolia/api-clients-automation#7126 Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com> Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com> Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
1 parent c821b7f commit 5621191

5 files changed

Lines changed: 16 additions & 0 deletions

File tree

‎packages/agent-studio/model/clientSideToolConfig.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,9 @@ export type ClientSideToolConfig = {
1010
description: string;
1111

1212
inputSchema: ClientToolsArgsSchema;
13+
14+
/**
15+
* Server-side declaration that this tool is display/render-only: a resolved result ends the turn and the model is not re-invoked on it (CR-11753). The client\'s terminal claim on a tool result is honored only when this agrees; leave false for data tools whose result the model must reason about.
16+
*/
17+
isTerminal?: boolean | undefined;
1318
};
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2+
3+
import type { ItemsUnion } from './itemsUnion';
4+
5+
export type FacetFiltersUnionSearchParametersOverrides = string | Array<ItemsUnion>;

‎packages/agent-studio/model/index.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export * from './episode';
5555
export * from './errorBase';
5656
export * from './exactOnSingleWordQuery';
5757
export * from './facetFiltersUnion';
58+
export * from './facetFiltersUnionSearchParametersOverrides';
5859
export * from './facets';
5960
export * from './facetsParam';
6061
export * from './facetsUnion';

‎packages/agent-studio/model/searchParametersOverrides.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import type { AroundPrecisionUnion } from './aroundPrecisionUnion';
44
import type { AroundRadiusUnion } from './aroundRadiusUnion';
55
import type { DistinctUnion } from './distinctUnion';
6+
import type { FacetFiltersUnionSearchParametersOverrides } from './facetFiltersUnionSearchParametersOverrides';
67
import type { InsideBoundingBoxUnion } from './insideBoundingBoxUnion';
78
import type { InsidePolygonUnion } from './insidePolygonUnion';
89
import type { OptionalFiltersUnion } from './optionalFiltersUnion';
@@ -27,6 +28,8 @@ export type SearchParametersOverrides = {
2728

2829
optionalFilters?: OptionalFiltersUnion | null | undefined;
2930

31+
facetFilters?: FacetFiltersUnionSearchParametersOverrides | null | undefined;
32+
3033
aroundLatLng?: string | undefined;
3134

3235
aroundRadius?: AroundRadiusUnion | null | undefined;

‎packages/agent-studio/model/toolPartV5.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ export type ToolPartV5 = {
2222

2323
errorText?: string | null | undefined;
2424

25+
terminal?: boolean | null | undefined;
26+
2527
providerOptions?: { [key: string]: any } | null | undefined;
2628

2729
requiresApproval?: boolean | null | undefined;

0 commit comments

Comments
 (0)