@amigo-ai/sdk 0.57.0 → 0.58.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/dist/types/generated/api-types.d.ts +108 -90
- package/package.json +1 -1
|
@@ -2339,7 +2339,7 @@ export interface components {
|
|
|
2339
2339
|
/** Boundary Constraints */
|
|
2340
2340
|
boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
2341
2341
|
/** Exit Conditions */
|
|
2342
|
-
exit_conditions: components["schemas"]["
|
|
2342
|
+
exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
|
|
2343
2343
|
/** Action Tool Call Specs */
|
|
2344
2344
|
action_tool_call_specs: components["schemas"]["ToolCallSpec-Input"][];
|
|
2345
2345
|
/** Exit Condition Tool Call Specs */
|
|
@@ -2784,7 +2784,7 @@ export interface components {
|
|
|
2784
2784
|
type: "decision";
|
|
2785
2785
|
name: components["schemas"]["StateOrRefName"];
|
|
2786
2786
|
/** Exit Conditions */
|
|
2787
|
-
exit_conditions: components["schemas"]["
|
|
2787
|
+
exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
|
|
2788
2788
|
/** Decision Guidelines */
|
|
2789
2789
|
decision_guidelines: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
2790
2790
|
objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
@@ -4303,6 +4303,8 @@ export interface components {
|
|
|
4303
4303
|
/** @description Metadata about the invocation. */
|
|
4304
4304
|
invocation_metadata: components["schemas"]["AgentFrameworkInvocationMetadata"];
|
|
4305
4305
|
};
|
|
4306
|
+
/** @enum {string} */
|
|
4307
|
+
ResultPersistence: "ephemral" | "persisted-preferred" | "persisted";
|
|
4306
4308
|
/** RoleInstance */
|
|
4307
4309
|
RoleInstance: {
|
|
4308
4310
|
/**
|
|
@@ -5103,6 +5105,12 @@ export interface components {
|
|
|
5103
5105
|
* @description The duration of the tool call in seconds.
|
|
5104
5106
|
*/
|
|
5105
5107
|
duration: number;
|
|
5108
|
+
/**
|
|
5109
|
+
* Hidden
|
|
5110
|
+
* @description Whether the tool call should be hidden in interaction logs based on the tool call spec's `result_persistence` setting.
|
|
5111
|
+
* @default false
|
|
5112
|
+
*/
|
|
5113
|
+
hidden?: boolean;
|
|
5106
5114
|
};
|
|
5107
5115
|
/** ToolCallSpec */
|
|
5108
5116
|
"ToolCallSpec-Input": {
|
|
@@ -5128,6 +5136,11 @@ export interface components {
|
|
|
5128
5136
|
* @description The number of seconds to wait before playing an audio filler.
|
|
5129
5137
|
*/
|
|
5130
5138
|
audio_filler_triggered_after: number;
|
|
5139
|
+
/**
|
|
5140
|
+
* @description The type of result persistence for this tool call.
|
|
5141
|
+
* @default persisted
|
|
5142
|
+
*/
|
|
5143
|
+
result_persistence?: components["schemas"]["ResultPersistence"];
|
|
5131
5144
|
};
|
|
5132
5145
|
/**
|
|
5133
5146
|
* ToolCallSpec
|
|
@@ -5159,6 +5172,11 @@ export interface components {
|
|
|
5159
5172
|
* @description The number of seconds to wait before playing an audio filler.
|
|
5160
5173
|
*/
|
|
5161
5174
|
audio_filler_triggered_after: number;
|
|
5175
|
+
/**
|
|
5176
|
+
* @description The type of result persistence for this tool call.
|
|
5177
|
+
* @default persisted
|
|
5178
|
+
*/
|
|
5179
|
+
result_persistence?: components["schemas"]["ResultPersistence"];
|
|
5162
5180
|
};
|
|
5163
5181
|
/**
|
|
5164
5182
|
* ToolCallStartedEvent
|
|
@@ -7087,7 +7105,7 @@ export interface components {
|
|
|
7087
7105
|
global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
7088
7106
|
};
|
|
7089
7107
|
/** ExitCondition */
|
|
7090
|
-
|
|
7108
|
+
organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
|
|
7091
7109
|
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
7092
7110
|
/** Next State */
|
|
7093
7111
|
next_state: components["schemas"]["StateOrRefName"] | [
|
|
@@ -7556,7 +7574,7 @@ export interface components {
|
|
|
7556
7574
|
service_hierarchical_state_machine_version_number: number | null;
|
|
7557
7575
|
/** Llm Model Preferences */
|
|
7558
7576
|
llm_model_preferences: {
|
|
7559
|
-
[key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"] | components["schemas"]["
|
|
7577
|
+
[key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"] | components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMLoadBalancingSetConfig"];
|
|
7560
7578
|
};
|
|
7561
7579
|
};
|
|
7562
7580
|
/** LLMConfig */
|
|
@@ -7578,14 +7596,6 @@ export interface components {
|
|
|
7578
7596
|
*/
|
|
7579
7597
|
top_k: number;
|
|
7580
7598
|
};
|
|
7581
|
-
/** LLMLoadBalancingSetConfig */
|
|
7582
|
-
service__create_service__Request__VersionSet__LLMLoadBalancingSetConfig: {
|
|
7583
|
-
llm_load_balancing_set_name: components["schemas"]["LLMLoadBalancingSetType"];
|
|
7584
|
-
/** Configs */
|
|
7585
|
-
configs: {
|
|
7586
|
-
[key: string]: components["schemas"]["PerLLMConfig"];
|
|
7587
|
-
};
|
|
7588
|
-
};
|
|
7589
7599
|
/** Response */
|
|
7590
7600
|
service__create_service__Response: {
|
|
7591
7601
|
/**
|
|
@@ -7663,6 +7673,14 @@ export interface components {
|
|
|
7663
7673
|
/** @description The version set to upsert. */
|
|
7664
7674
|
version_set: components["schemas"]["service__create_service__Request__VersionSet"];
|
|
7665
7675
|
};
|
|
7676
|
+
/** LLMLoadBalancingSetConfig */
|
|
7677
|
+
service__upsert_service_version_set__Request__VersionSet__LLMLoadBalancingSetConfig: {
|
|
7678
|
+
llm_load_balancing_set_name: components["schemas"]["LLMLoadBalancingSetType"];
|
|
7679
|
+
/** Configs */
|
|
7680
|
+
configs: {
|
|
7681
|
+
[key: string]: components["schemas"]["PerLLMConfig"];
|
|
7682
|
+
};
|
|
7683
|
+
};
|
|
7666
7684
|
/** Request */
|
|
7667
7685
|
simulation__create_simulation_persona__Request: {
|
|
7668
7686
|
/** @description The name of the simulation persona. */
|
|
@@ -7866,7 +7884,7 @@ export interface components {
|
|
|
7866
7884
|
* Unit Test Runs
|
|
7867
7885
|
* @description The unit test runs that are part of this set.
|
|
7868
7886
|
*/
|
|
7869
|
-
unit_test_runs: components["schemas"]["
|
|
7887
|
+
unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
|
|
7870
7888
|
/**
|
|
7871
7889
|
* Tags
|
|
7872
7890
|
* @description The tags of the simulation unit test set.
|
|
@@ -7875,16 +7893,6 @@ export interface components {
|
|
|
7875
7893
|
[key: string]: string | null;
|
|
7876
7894
|
};
|
|
7877
7895
|
};
|
|
7878
|
-
/** UnitTestRunDescriptor */
|
|
7879
|
-
simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
|
|
7880
|
-
/** Unit Test Id */
|
|
7881
|
-
unit_test_id: string;
|
|
7882
|
-
/**
|
|
7883
|
-
* Run Count
|
|
7884
|
-
* @description The number of times to run the unit test.
|
|
7885
|
-
*/
|
|
7886
|
-
run_count: number;
|
|
7887
|
-
};
|
|
7888
7896
|
/** Response */
|
|
7889
7897
|
simulation__create_simulation_unit_test_set__Response: {
|
|
7890
7898
|
/**
|
|
@@ -7933,7 +7941,7 @@ export interface components {
|
|
|
7933
7941
|
* Simulation Personas
|
|
7934
7942
|
* @description The list of simulation personas.
|
|
7935
7943
|
*/
|
|
7936
|
-
simulation_personas: components["schemas"]["
|
|
7944
|
+
simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
|
|
7937
7945
|
/**
|
|
7938
7946
|
* Has More
|
|
7939
7947
|
* @description Whether there are more simulation personas to fetch.
|
|
@@ -7968,6 +7976,52 @@ export interface components {
|
|
|
7968
7976
|
*/
|
|
7969
7977
|
roles: string[];
|
|
7970
7978
|
};
|
|
7979
|
+
/** SimulationPersonaInstance */
|
|
7980
|
+
simulation__get_simulation_personas__Response__SimulationPersonaInstance: {
|
|
7981
|
+
/**
|
|
7982
|
+
* Id
|
|
7983
|
+
* @description The ID of the simulation persona.
|
|
7984
|
+
*/
|
|
7985
|
+
id: string;
|
|
7986
|
+
/**
|
|
7987
|
+
* Name
|
|
7988
|
+
* @description The name of the simulation persona.
|
|
7989
|
+
*/
|
|
7990
|
+
name: string;
|
|
7991
|
+
/**
|
|
7992
|
+
* Role
|
|
7993
|
+
* @description The role of the simulation persona.
|
|
7994
|
+
*/
|
|
7995
|
+
role: string;
|
|
7996
|
+
/**
|
|
7997
|
+
* Tags
|
|
7998
|
+
* @description The tags of the simulation persona.
|
|
7999
|
+
*/
|
|
8000
|
+
tags: {
|
|
8001
|
+
[key: string]: string | null;
|
|
8002
|
+
};
|
|
8003
|
+
/**
|
|
8004
|
+
* Is Deleted
|
|
8005
|
+
* @description Whether the simulation persona is deleted.
|
|
8006
|
+
*/
|
|
8007
|
+
is_deleted: boolean;
|
|
8008
|
+
/**
|
|
8009
|
+
* Created At
|
|
8010
|
+
* Format: date-time
|
|
8011
|
+
* @description The timestamp when the simulation persona was created.
|
|
8012
|
+
*/
|
|
8013
|
+
created_at: string;
|
|
8014
|
+
/** @description The user who created the simulation persona. */
|
|
8015
|
+
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
|
|
8016
|
+
/**
|
|
8017
|
+
* Updated At
|
|
8018
|
+
* Format: date-time
|
|
8019
|
+
* @description The timestamp when the simulation persona was last updated.
|
|
8020
|
+
*/
|
|
8021
|
+
updated_at: string;
|
|
8022
|
+
/** @description The user who last updated the simulation persona. */
|
|
8023
|
+
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
|
|
8024
|
+
};
|
|
7971
8025
|
/** Response */
|
|
7972
8026
|
simulation__get_simulation_scenario_versions__Response: {
|
|
7973
8027
|
/**
|
|
@@ -8221,53 +8275,7 @@ export interface components {
|
|
|
8221
8275
|
* Simulation Personas
|
|
8222
8276
|
* @description The list of simulation personas.
|
|
8223
8277
|
*/
|
|
8224
|
-
simulation_personas: components["schemas"]["
|
|
8225
|
-
};
|
|
8226
|
-
/** SimulationPersonaInstance */
|
|
8227
|
-
simulation__search_simulation_personas__Response__SimulationPersonaInstance: {
|
|
8228
|
-
/**
|
|
8229
|
-
* Id
|
|
8230
|
-
* @description The ID of the simulation persona.
|
|
8231
|
-
*/
|
|
8232
|
-
id: string;
|
|
8233
|
-
/**
|
|
8234
|
-
* Name
|
|
8235
|
-
* @description The name of the simulation persona.
|
|
8236
|
-
*/
|
|
8237
|
-
name: string;
|
|
8238
|
-
/**
|
|
8239
|
-
* Role
|
|
8240
|
-
* @description The role of the simulation persona.
|
|
8241
|
-
*/
|
|
8242
|
-
role: string;
|
|
8243
|
-
/**
|
|
8244
|
-
* Tags
|
|
8245
|
-
* @description The tags of the simulation persona.
|
|
8246
|
-
*/
|
|
8247
|
-
tags: {
|
|
8248
|
-
[key: string]: string | null;
|
|
8249
|
-
};
|
|
8250
|
-
/**
|
|
8251
|
-
* Is Deleted
|
|
8252
|
-
* @description Whether the simulation persona is deleted.
|
|
8253
|
-
*/
|
|
8254
|
-
is_deleted: boolean;
|
|
8255
|
-
/**
|
|
8256
|
-
* Created At
|
|
8257
|
-
* Format: date-time
|
|
8258
|
-
* @description The timestamp when the simulation persona was created.
|
|
8259
|
-
*/
|
|
8260
|
-
created_at: string;
|
|
8261
|
-
/** @description The user who created the simulation persona. */
|
|
8262
|
-
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
|
|
8263
|
-
/**
|
|
8264
|
-
* Updated At
|
|
8265
|
-
* Format: date-time
|
|
8266
|
-
* @description The timestamp when the simulation persona was last updated.
|
|
8267
|
-
*/
|
|
8268
|
-
updated_at: string;
|
|
8269
|
-
/** @description The user who last updated the simulation persona. */
|
|
8270
|
-
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
|
|
8278
|
+
simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
|
|
8271
8279
|
};
|
|
8272
8280
|
/** Response */
|
|
8273
8281
|
simulation__search_simulation_scenarios__Response: {
|
|
@@ -8381,7 +8389,7 @@ export interface components {
|
|
|
8381
8389
|
* Unit Test Runs
|
|
8382
8390
|
* @description The unit test runs that are part of this set.
|
|
8383
8391
|
*/
|
|
8384
|
-
unit_test_runs?: components["schemas"]["
|
|
8392
|
+
unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
|
|
8385
8393
|
/**
|
|
8386
8394
|
* Tags
|
|
8387
8395
|
* @description The tags of the simulation unit test set.
|
|
@@ -8390,6 +8398,16 @@ export interface components {
|
|
|
8390
8398
|
[key: string]: string | null;
|
|
8391
8399
|
} | null;
|
|
8392
8400
|
};
|
|
8401
|
+
/** UnitTestRunDescriptor */
|
|
8402
|
+
simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
|
|
8403
|
+
/** Unit Test Id */
|
|
8404
|
+
unit_test_id: string;
|
|
8405
|
+
/**
|
|
8406
|
+
* Run Count
|
|
8407
|
+
* @description The number of times to run the unit test.
|
|
8408
|
+
*/
|
|
8409
|
+
run_count: number;
|
|
8410
|
+
};
|
|
8393
8411
|
/** Request */
|
|
8394
8412
|
tool__create_tool__Request: {
|
|
8395
8413
|
/** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
|
|
@@ -8498,7 +8516,23 @@ export interface components {
|
|
|
8498
8516
|
* Inputs
|
|
8499
8517
|
* @description The list of inputs for the tool invocation.
|
|
8500
8518
|
*/
|
|
8501
|
-
inputs: components["schemas"]["
|
|
8519
|
+
inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
|
|
8520
|
+
};
|
|
8521
|
+
/** Input */
|
|
8522
|
+
tool__invoke_tool_version__Request__Input: {
|
|
8523
|
+
/**
|
|
8524
|
+
* Input Parameters
|
|
8525
|
+
* @description The input parameters for the tool invocation.
|
|
8526
|
+
*/
|
|
8527
|
+
input_parameters: {
|
|
8528
|
+
[key: string]: unknown;
|
|
8529
|
+
};
|
|
8530
|
+
/**
|
|
8531
|
+
* Invocation Mode
|
|
8532
|
+
* @description The mode of invocation.
|
|
8533
|
+
* @enum {string}
|
|
8534
|
+
*/
|
|
8535
|
+
invocation_mode: "regular" | "conversation-simulation";
|
|
8502
8536
|
};
|
|
8503
8537
|
/** Response */
|
|
8504
8538
|
tool__invoke_tool_version__Response: {
|
|
@@ -8619,7 +8653,7 @@ export interface components {
|
|
|
8619
8653
|
* Inputs
|
|
8620
8654
|
* @description The list of inputs for the tool invocation.
|
|
8621
8655
|
*/
|
|
8622
|
-
inputs: components["schemas"]["
|
|
8656
|
+
inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
|
|
8623
8657
|
/**
|
|
8624
8658
|
* Commit Branch
|
|
8625
8659
|
* @description The branch in the tools repo whose tip will be tested.
|
|
@@ -8645,22 +8679,6 @@ export interface components {
|
|
|
8645
8679
|
[key: string]: string;
|
|
8646
8680
|
};
|
|
8647
8681
|
};
|
|
8648
|
-
/** Input */
|
|
8649
|
-
tool__test_tool__Request__Input: {
|
|
8650
|
-
/**
|
|
8651
|
-
* Input Parameters
|
|
8652
|
-
* @description The input parameters for the tool invocation.
|
|
8653
|
-
*/
|
|
8654
|
-
input_parameters: {
|
|
8655
|
-
[key: string]: unknown;
|
|
8656
|
-
};
|
|
8657
|
-
/**
|
|
8658
|
-
* Invocation Mode
|
|
8659
|
-
* @description The mode of invocation.
|
|
8660
|
-
* @enum {string}
|
|
8661
|
-
*/
|
|
8662
|
-
invocation_mode: "regular" | "conversation-simulation";
|
|
8663
|
-
};
|
|
8664
8682
|
/** Response */
|
|
8665
8683
|
tool__test_tool__Response: {
|
|
8666
8684
|
/** Invocation Results */
|