@lumavox/server 0.50.0 → 0.52.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/gen/types.gen.d.ts +273 -10
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -1965,6 +1965,46 @@ export type AgentSummary = {
|
|
|
1965
1965
|
* What the agent says when the model provider's own safety filter holds a reply back, in place of it: one line in the agent's voice, such as "Hmm, let's talk about something else!" — 1 to 300 characters, at any `age_level`. It is said and spoken as any reply, and the turn ends with `turn.done`; a reply held back part-way keeps what it had said, less the sentence it was writing. **Unset, a held-back reply ends with an `error` (`provider_failed`) and `interrupted`**, as before. Never for the opening line. Recommended for `kids` and `teens`, whose filters are stricter.
|
|
1966
1966
|
*/
|
|
1967
1967
|
fallback_message: string | null;
|
|
1968
|
+
/**
|
|
1969
|
+
* Whether the agent plays a character or is an assistant. `character` (the default, and what unset means) opens its instructions with "You are playing a character… Stay in character", for a companion, a game's character or a tutor with a persona. `assistant` opens them as an assistant helping the user, for a support desk or a helper, which then has no character to stay in. The rest of its instructions are the same either way. Always answered: `character` for an agent that set none.
|
|
1970
|
+
*/
|
|
1971
|
+
role: 'character' | 'assistant';
|
|
1972
|
+
/**
|
|
1973
|
+
* The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
|
|
1974
|
+
*/
|
|
1975
|
+
language: string | null;
|
|
1976
|
+
/**
|
|
1977
|
+
* Lines in the agent's voice, to show the model how it talks — its manner, not lines to repeat: at most 20, of 500 characters each, each read as one line. Part of its instructions on every turn, so they are prompt tokens on every reply. Always answered: `[]` for none.
|
|
1978
|
+
*/
|
|
1979
|
+
example_lines: Array<string>;
|
|
1980
|
+
/**
|
|
1981
|
+
* Opening lines the agent picks one of at random each time it greets — or, with `first_message_generated` on, directions it picks one of to write one by: at most 10, of 1000 characters each. **When it lists any, `first_message` is not used.** A key's own `first_message` is still said in place of them. Always answered: `[]` for none.
|
|
1982
|
+
*/
|
|
1983
|
+
first_messages: Array<string>;
|
|
1984
|
+
/**
|
|
1985
|
+
* How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
1986
|
+
*/
|
|
1987
|
+
temperature: number | null;
|
|
1988
|
+
/**
|
|
1989
|
+
* How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
1990
|
+
*/
|
|
1991
|
+
top_p: number | null;
|
|
1992
|
+
/**
|
|
1993
|
+
* How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
1994
|
+
*/
|
|
1995
|
+
top_k: number | null;
|
|
1996
|
+
/**
|
|
1997
|
+
* The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
|
|
1998
|
+
*/
|
|
1999
|
+
seed: number | null;
|
|
2000
|
+
/**
|
|
2001
|
+
* Where the model stops writing a reply: at the first of these it writes, which is left out. Always answered: `[]` for none.
|
|
2002
|
+
*/
|
|
2003
|
+
stop_sequences: Array<string>;
|
|
2004
|
+
/**
|
|
2005
|
+
* The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. Always answered: `[]` for none.
|
|
2006
|
+
*/
|
|
2007
|
+
tools_off: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'>;
|
|
1968
2008
|
/**
|
|
1969
2009
|
* Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. `[]` for none. A target deleted since is gone from the list.
|
|
1970
2010
|
*/
|
|
@@ -2220,7 +2260,7 @@ export type AgentSummary = {
|
|
|
2220
2260
|
/**
|
|
2221
2261
|
* The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
|
|
2222
2262
|
*
|
|
2223
|
-
* Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model
|
|
2263
|
+
* Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model` with `thinking_level`, `thinking_summaries`, `max_output_tokens`, `temperature`, `top_p`, `top_k`, `seed` and `stop_sequences`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
|
|
2224
2264
|
*
|
|
2225
2265
|
* A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
|
|
2226
2266
|
*
|
|
@@ -2228,7 +2268,7 @@ export type AgentSummary = {
|
|
|
2228
2268
|
*
|
|
2229
2269
|
* Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
|
|
2230
2270
|
*/
|
|
2231
|
-
org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
|
|
2271
|
+
org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
|
|
2232
2272
|
id: string;
|
|
2233
2273
|
created_at: string;
|
|
2234
2274
|
updated_at: string;
|
|
@@ -2392,6 +2432,46 @@ export type AgentInfo = {
|
|
|
2392
2432
|
* What the agent says when the model provider's own safety filter holds a reply back, in place of it: one line in the agent's voice, such as "Hmm, let's talk about something else!" — 1 to 300 characters, at any `age_level`. It is said and spoken as any reply, and the turn ends with `turn.done`; a reply held back part-way keeps what it had said, less the sentence it was writing. **Unset, a held-back reply ends with an `error` (`provider_failed`) and `interrupted`**, as before. Never for the opening line. Recommended for `kids` and `teens`, whose filters are stricter.
|
|
2393
2433
|
*/
|
|
2394
2434
|
fallback_message: string | null;
|
|
2435
|
+
/**
|
|
2436
|
+
* Whether the agent plays a character or is an assistant. `character` (the default, and what unset means) opens its instructions with "You are playing a character… Stay in character", for a companion, a game's character or a tutor with a persona. `assistant` opens them as an assistant helping the user, for a support desk or a helper, which then has no character to stay in. The rest of its instructions are the same either way. Always answered: `character` for an agent that set none.
|
|
2437
|
+
*/
|
|
2438
|
+
role: 'character' | 'assistant';
|
|
2439
|
+
/**
|
|
2440
|
+
* The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
|
|
2441
|
+
*/
|
|
2442
|
+
language: string | null;
|
|
2443
|
+
/**
|
|
2444
|
+
* Lines in the agent's voice, to show the model how it talks — its manner, not lines to repeat: at most 20, of 500 characters each, each read as one line. Part of its instructions on every turn, so they are prompt tokens on every reply. Always answered: `[]` for none.
|
|
2445
|
+
*/
|
|
2446
|
+
example_lines: Array<string>;
|
|
2447
|
+
/**
|
|
2448
|
+
* Opening lines the agent picks one of at random each time it greets — or, with `first_message_generated` on, directions it picks one of to write one by: at most 10, of 1000 characters each. **When it lists any, `first_message` is not used.** A key's own `first_message` is still said in place of them. Always answered: `[]` for none.
|
|
2449
|
+
*/
|
|
2450
|
+
first_messages: Array<string>;
|
|
2451
|
+
/**
|
|
2452
|
+
* How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
2453
|
+
*/
|
|
2454
|
+
temperature: number | null;
|
|
2455
|
+
/**
|
|
2456
|
+
* How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
2457
|
+
*/
|
|
2458
|
+
top_p: number | null;
|
|
2459
|
+
/**
|
|
2460
|
+
* How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
2461
|
+
*/
|
|
2462
|
+
top_k: number | null;
|
|
2463
|
+
/**
|
|
2464
|
+
* The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
|
|
2465
|
+
*/
|
|
2466
|
+
seed: number | null;
|
|
2467
|
+
/**
|
|
2468
|
+
* Where the model stops writing a reply: at the first of these it writes, which is left out. Always answered: `[]` for none.
|
|
2469
|
+
*/
|
|
2470
|
+
stop_sequences: Array<string>;
|
|
2471
|
+
/**
|
|
2472
|
+
* The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. Always answered: `[]` for none.
|
|
2473
|
+
*/
|
|
2474
|
+
tools_off: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'>;
|
|
2395
2475
|
/**
|
|
2396
2476
|
* Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. `[]` for none. A target deleted since is gone from the list.
|
|
2397
2477
|
*/
|
|
@@ -2647,7 +2727,7 @@ export type AgentInfo = {
|
|
|
2647
2727
|
/**
|
|
2648
2728
|
* The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
|
|
2649
2729
|
*
|
|
2650
|
-
* Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model
|
|
2730
|
+
* Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model` with `thinking_level`, `thinking_summaries`, `max_output_tokens`, `temperature`, `top_p`, `top_k`, `seed` and `stop_sequences`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
|
|
2651
2731
|
*
|
|
2652
2732
|
* A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
|
|
2653
2733
|
*
|
|
@@ -2655,7 +2735,7 @@ export type AgentInfo = {
|
|
|
2655
2735
|
*
|
|
2656
2736
|
* Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
|
|
2657
2737
|
*/
|
|
2658
|
-
org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
|
|
2738
|
+
org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
|
|
2659
2739
|
id: string;
|
|
2660
2740
|
created_at: string;
|
|
2661
2741
|
updated_at: string;
|
|
@@ -2717,6 +2797,46 @@ export type AgentCreateRequest = {
|
|
|
2717
2797
|
* What the agent says when the model provider's own safety filter holds a reply back, in place of it: one line in the agent's voice, such as "Hmm, let's talk about something else!" — 1 to 300 characters, at any `age_level`. It is said and spoken as any reply, and the turn ends with `turn.done`; a reply held back part-way keeps what it had said, less the sentence it was writing. **Unset, a held-back reply ends with an `error` (`provider_failed`) and `interrupted`**, as before. Never for the opening line. Recommended for `kids` and `teens`, whose filters are stricter.
|
|
2718
2798
|
*/
|
|
2719
2799
|
fallback_message?: string | null;
|
|
2800
|
+
/**
|
|
2801
|
+
* Whether the agent plays a character or is an assistant. `character` (the default, and what unset means) opens its instructions with "You are playing a character… Stay in character", for a companion, a game's character or a tutor with a persona. `assistant` opens them as an assistant helping the user, for a support desk or a helper, which then has no character to stay in. The rest of its instructions are the same either way.
|
|
2802
|
+
*/
|
|
2803
|
+
role?: 'character' | 'assistant' | null;
|
|
2804
|
+
/**
|
|
2805
|
+
* The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
|
|
2806
|
+
*/
|
|
2807
|
+
language?: string | null;
|
|
2808
|
+
/**
|
|
2809
|
+
* Lines in the agent's voice, to show the model how it talks — its manner, not lines to repeat: at most 20, of 500 characters each, each read as one line. Part of its instructions on every turn, so they are prompt tokens on every reply. The complete list: `null` or `[]` clears it.
|
|
2810
|
+
*/
|
|
2811
|
+
example_lines?: Array<string> | null;
|
|
2812
|
+
/**
|
|
2813
|
+
* Opening lines the agent picks one of at random each time it greets — or, with `first_message_generated` on, directions it picks one of to write one by: at most 10, of 1000 characters each. **When it lists any, `first_message` is not used.** A key's own `first_message` is still said in place of them. The complete list: `null` or `[]` clears it.
|
|
2814
|
+
*/
|
|
2815
|
+
first_messages?: Array<string> | null;
|
|
2816
|
+
/**
|
|
2817
|
+
* How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
2818
|
+
*/
|
|
2819
|
+
temperature?: number | null;
|
|
2820
|
+
/**
|
|
2821
|
+
* How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
2822
|
+
*/
|
|
2823
|
+
top_p?: number | null;
|
|
2824
|
+
/**
|
|
2825
|
+
* How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
2826
|
+
*/
|
|
2827
|
+
top_k?: number | null;
|
|
2828
|
+
/**
|
|
2829
|
+
* The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
|
|
2830
|
+
*/
|
|
2831
|
+
seed?: number | null;
|
|
2832
|
+
/**
|
|
2833
|
+
* Where the model stops writing a reply: at the first of these it writes, which is left out. At most 5, of 100 characters each. **One that could end a reply inside its mood line is refused** (422) — a mood opens a reply with `emotion_enabled` on, as `mood: happy 0.6` on a line of its own, so a newline, a space, a digit, `mood` or part of a mood's name would leave no reply. The complete list: `null` or `[]` clears it.
|
|
2834
|
+
*/
|
|
2835
|
+
stop_sequences?: Array<string> | null;
|
|
2836
|
+
/**
|
|
2837
|
+
* The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. The complete list: `null` or `[]` clears it.
|
|
2838
|
+
*/
|
|
2839
|
+
tools_off?: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'> | null;
|
|
2720
2840
|
/**
|
|
2721
2841
|
* Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. The complete list, in order: `null` or `[]` clears it.
|
|
2722
2842
|
*/
|
|
@@ -2972,7 +3092,7 @@ export type AgentCreateRequest = {
|
|
|
2972
3092
|
/**
|
|
2973
3093
|
* The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
|
|
2974
3094
|
*
|
|
2975
|
-
* Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model
|
|
3095
|
+
* Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model` with `thinking_level`, `thinking_summaries`, `max_output_tokens`, `temperature`, `top_p`, `top_k`, `seed` and `stop_sequences`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
|
|
2976
3096
|
*
|
|
2977
3097
|
* A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
|
|
2978
3098
|
*
|
|
@@ -2980,7 +3100,7 @@ export type AgentCreateRequest = {
|
|
|
2980
3100
|
*
|
|
2981
3101
|
* Naming one field of a set names all of it. A section's name — `voice`, `safety` and the rest of the console's tabs — stands for every field of it.
|
|
2982
3102
|
*/
|
|
2983
|
-
org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
|
|
3103
|
+
org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
|
|
2984
3104
|
};
|
|
2985
3105
|
export type AgentReportField = {
|
|
2986
3106
|
/**
|
|
@@ -3156,6 +3276,30 @@ export type AgentDefaults = {
|
|
|
3156
3276
|
* Cap on reply length. Unset means the model's own limit.
|
|
3157
3277
|
*/
|
|
3158
3278
|
max_output_tokens: number | null;
|
|
3279
|
+
/**
|
|
3280
|
+
* How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
3281
|
+
*/
|
|
3282
|
+
temperature: number | null;
|
|
3283
|
+
/**
|
|
3284
|
+
* How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
3285
|
+
*/
|
|
3286
|
+
top_p: number | null;
|
|
3287
|
+
/**
|
|
3288
|
+
* How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
3289
|
+
*/
|
|
3290
|
+
top_k: number | null;
|
|
3291
|
+
/**
|
|
3292
|
+
* The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
|
|
3293
|
+
*/
|
|
3294
|
+
seed: number | null;
|
|
3295
|
+
/**
|
|
3296
|
+
* Where the model stops writing a reply: at the first of these it writes, which is left out. Always answered: `[]` for none.
|
|
3297
|
+
*/
|
|
3298
|
+
stop_sequences: Array<string> | null;
|
|
3299
|
+
/**
|
|
3300
|
+
* The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
|
|
3301
|
+
*/
|
|
3302
|
+
language: string | null;
|
|
3159
3303
|
/**
|
|
3160
3304
|
* Whether replies come back as audio as well as text.
|
|
3161
3305
|
*
|
|
@@ -3220,6 +3364,10 @@ export type AgentDefaults = {
|
|
|
3220
3364
|
* **No fee, but not free**: the code and its output are model tokens, billed like any reply.
|
|
3221
3365
|
*/
|
|
3222
3366
|
code_execution: boolean | null;
|
|
3367
|
+
/**
|
|
3368
|
+
* The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. Always answered: `[]` for none.
|
|
3369
|
+
*/
|
|
3370
|
+
tools_off: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'> | null;
|
|
3223
3371
|
/**
|
|
3224
3372
|
* Compact automatically once a reply's first model call reads this many tokens — the conversation, its summary and the instruction, without the inline knowledge or the turn's looked-up passages, which no summary shrinks. Tool results do not count. Unset uses the platform's default, `agents.memory.compaction.default_threshold_tokens` on the Limits page. At most 200,000, and at least twice what the instruction costs on its own. `POST /v1/agent/sessions/{id}/compact` works whatever it is.
|
|
3225
3373
|
*/
|
|
@@ -3378,6 +3526,12 @@ export type AgentsFollowing = {
|
|
|
3378
3526
|
thinking_level: number;
|
|
3379
3527
|
thinking_summaries: number;
|
|
3380
3528
|
max_output_tokens: number;
|
|
3529
|
+
temperature: number;
|
|
3530
|
+
top_p: number;
|
|
3531
|
+
top_k: number;
|
|
3532
|
+
seed: number;
|
|
3533
|
+
stop_sequences: number;
|
|
3534
|
+
language: number;
|
|
3381
3535
|
voice_enabled: number;
|
|
3382
3536
|
voice_config: number;
|
|
3383
3537
|
stream_chunk_schedule: number;
|
|
@@ -3392,6 +3546,7 @@ export type AgentsFollowing = {
|
|
|
3392
3546
|
knowledge_max_results: number;
|
|
3393
3547
|
url_context: number;
|
|
3394
3548
|
code_execution: number;
|
|
3549
|
+
tools_off: number;
|
|
3395
3550
|
compact_threshold_tokens: number;
|
|
3396
3551
|
compact_instruction: number;
|
|
3397
3552
|
compact_model: number;
|
|
@@ -3496,6 +3651,30 @@ export type AgentDefaultsUpdate = {
|
|
|
3496
3651
|
* Cap on reply length. Unset means the model's own limit.
|
|
3497
3652
|
*/
|
|
3498
3653
|
max_output_tokens?: number | null;
|
|
3654
|
+
/**
|
|
3655
|
+
* How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
3656
|
+
*/
|
|
3657
|
+
temperature?: number | null;
|
|
3658
|
+
/**
|
|
3659
|
+
* How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
3660
|
+
*/
|
|
3661
|
+
top_p?: number | null;
|
|
3662
|
+
/**
|
|
3663
|
+
* How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
3664
|
+
*/
|
|
3665
|
+
top_k?: number | null;
|
|
3666
|
+
/**
|
|
3667
|
+
* The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
|
|
3668
|
+
*/
|
|
3669
|
+
seed?: number | null;
|
|
3670
|
+
/**
|
|
3671
|
+
* Where the model stops writing a reply: at the first of these it writes, which is left out. At most 5, of 100 characters each. **One that could end a reply inside its mood line is refused** (422) — a mood opens a reply with `emotion_enabled` on, as `mood: happy 0.6` on a line of its own, so a newline, a space, a digit, `mood` or part of a mood's name would leave no reply. The complete list: `null` or `[]` clears it.
|
|
3672
|
+
*/
|
|
3673
|
+
stop_sequences?: Array<string> | null;
|
|
3674
|
+
/**
|
|
3675
|
+
* The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
|
|
3676
|
+
*/
|
|
3677
|
+
language?: string | null;
|
|
3499
3678
|
/**
|
|
3500
3679
|
* Whether replies come back as audio as well as text.
|
|
3501
3680
|
*
|
|
@@ -3560,6 +3739,10 @@ export type AgentDefaultsUpdate = {
|
|
|
3560
3739
|
* **No fee, but not free**: the code and its output are model tokens, billed like any reply.
|
|
3561
3740
|
*/
|
|
3562
3741
|
code_execution?: boolean | null;
|
|
3742
|
+
/**
|
|
3743
|
+
* The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. The complete list: `null` or `[]` clears it.
|
|
3744
|
+
*/
|
|
3745
|
+
tools_off?: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'> | null;
|
|
3563
3746
|
/**
|
|
3564
3747
|
* Compact automatically once a reply's first model call reads this many tokens — the conversation, its summary and the instruction, without the inline knowledge or the turn's looked-up passages, which no summary shrinks. Tool results do not count. Unset uses the platform's default, `agents.memory.compaction.default_threshold_tokens` on the Limits page. At most 200,000, and at least twice what the instruction costs on its own. `POST /v1/agent/sessions/{id}/compact` works whatever it is.
|
|
3565
3748
|
*/
|
|
@@ -3768,6 +3951,46 @@ export type AgentUpdate = {
|
|
|
3768
3951
|
* What the agent says when the model provider's own safety filter holds a reply back, in place of it: one line in the agent's voice, such as "Hmm, let's talk about something else!" — 1 to 300 characters, at any `age_level`. It is said and spoken as any reply, and the turn ends with `turn.done`; a reply held back part-way keeps what it had said, less the sentence it was writing. **Unset, a held-back reply ends with an `error` (`provider_failed`) and `interrupted`**, as before. Never for the opening line. Recommended for `kids` and `teens`, whose filters are stricter.
|
|
3769
3952
|
*/
|
|
3770
3953
|
fallback_message?: string | null;
|
|
3954
|
+
/**
|
|
3955
|
+
* Whether the agent plays a character or is an assistant. `character` (the default, and what unset means) opens its instructions with "You are playing a character… Stay in character", for a companion, a game's character or a tutor with a persona. `assistant` opens them as an assistant helping the user, for a support desk or a helper, which then has no character to stay in. The rest of its instructions are the same either way.
|
|
3956
|
+
*/
|
|
3957
|
+
role?: 'character' | 'assistant' | null;
|
|
3958
|
+
/**
|
|
3959
|
+
* The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
|
|
3960
|
+
*/
|
|
3961
|
+
language?: string | null;
|
|
3962
|
+
/**
|
|
3963
|
+
* Lines in the agent's voice, to show the model how it talks — its manner, not lines to repeat: at most 20, of 500 characters each, each read as one line. Part of its instructions on every turn, so they are prompt tokens on every reply. The complete list: `null` or `[]` clears it.
|
|
3964
|
+
*/
|
|
3965
|
+
example_lines?: Array<string> | null;
|
|
3966
|
+
/**
|
|
3967
|
+
* Opening lines the agent picks one of at random each time it greets — or, with `first_message_generated` on, directions it picks one of to write one by: at most 10, of 1000 characters each. **When it lists any, `first_message` is not used.** A key's own `first_message` is still said in place of them. The complete list: `null` or `[]` clears it.
|
|
3968
|
+
*/
|
|
3969
|
+
first_messages?: Array<string> | null;
|
|
3970
|
+
/**
|
|
3971
|
+
* How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
3972
|
+
*/
|
|
3973
|
+
temperature?: number | null;
|
|
3974
|
+
/**
|
|
3975
|
+
* How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
3976
|
+
*/
|
|
3977
|
+
top_p?: number | null;
|
|
3978
|
+
/**
|
|
3979
|
+
* How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
3980
|
+
*/
|
|
3981
|
+
top_k?: number | null;
|
|
3982
|
+
/**
|
|
3983
|
+
* The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
|
|
3984
|
+
*/
|
|
3985
|
+
seed?: number | null;
|
|
3986
|
+
/**
|
|
3987
|
+
* Where the model stops writing a reply: at the first of these it writes, which is left out. At most 5, of 100 characters each. **One that could end a reply inside its mood line is refused** (422) — a mood opens a reply with `emotion_enabled` on, as `mood: happy 0.6` on a line of its own, so a newline, a space, a digit, `mood` or part of a mood's name would leave no reply. The complete list: `null` or `[]` clears it.
|
|
3988
|
+
*/
|
|
3989
|
+
stop_sequences?: Array<string> | null;
|
|
3990
|
+
/**
|
|
3991
|
+
* The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. The complete list: `null` or `[]` clears it.
|
|
3992
|
+
*/
|
|
3993
|
+
tools_off?: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'> | null;
|
|
3771
3994
|
/**
|
|
3772
3995
|
* Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. The complete list, in order: `null` or `[]` clears it.
|
|
3773
3996
|
*/
|
|
@@ -4023,7 +4246,7 @@ export type AgentUpdate = {
|
|
|
4023
4246
|
/**
|
|
4024
4247
|
* The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
|
|
4025
4248
|
*
|
|
4026
|
-
* Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model
|
|
4249
|
+
* Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model` with `thinking_level`, `thinking_summaries`, `max_output_tokens`, `temperature`, `top_p`, `top_k`, `seed` and `stop_sequences`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
|
|
4027
4250
|
*
|
|
4028
4251
|
* A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
|
|
4029
4252
|
*
|
|
@@ -4031,7 +4254,7 @@ export type AgentUpdate = {
|
|
|
4031
4254
|
*
|
|
4032
4255
|
* Naming one field of a set names all of it. A section's name — `voice`, `safety` and the rest of the console's tabs — stands for every field of it.
|
|
4033
4256
|
*/
|
|
4034
|
-
org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
|
|
4257
|
+
org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
|
|
4035
4258
|
/**
|
|
4036
4259
|
* The `version` you last read for this agent. When set and the agent has been changed since, the update is refused with 409 and nothing is written - re-read it and decide again. Omit it to write unconditionally.
|
|
4037
4260
|
*/
|
|
@@ -4268,6 +4491,46 @@ export type AgentDraftUpdate = {
|
|
|
4268
4491
|
* What the agent says when the model provider's own safety filter holds a reply back, in place of it: one line in the agent's voice, such as "Hmm, let's talk about something else!" — 1 to 300 characters, at any `age_level`. It is said and spoken as any reply, and the turn ends with `turn.done`; a reply held back part-way keeps what it had said, less the sentence it was writing. **Unset, a held-back reply ends with an `error` (`provider_failed`) and `interrupted`**, as before. Never for the opening line. Recommended for `kids` and `teens`, whose filters are stricter.
|
|
4269
4492
|
*/
|
|
4270
4493
|
fallback_message?: string | null;
|
|
4494
|
+
/**
|
|
4495
|
+
* Whether the agent plays a character or is an assistant. `character` (the default, and what unset means) opens its instructions with "You are playing a character… Stay in character", for a companion, a game's character or a tutor with a persona. `assistant` opens them as an assistant helping the user, for a support desk or a helper, which then has no character to stay in. The rest of its instructions are the same either way.
|
|
4496
|
+
*/
|
|
4497
|
+
role?: 'character' | 'assistant' | null;
|
|
4498
|
+
/**
|
|
4499
|
+
* The language the agent replies in, as a tag — `es`, `pt-BR` — whatever language the person writes in: told to the model, spoken by the voice where `voice_config` names no `language` of its own, and the hint its hearing transcribes with (the language alone, `pt` of `pt-BR`) where `stt_config` names none. **A conversation whose key names a `language` uses that instead.** Unset, the agent answers in the language it is spoken to in.
|
|
4500
|
+
*/
|
|
4501
|
+
language?: string | null;
|
|
4502
|
+
/**
|
|
4503
|
+
* Lines in the agent's voice, to show the model how it talks — its manner, not lines to repeat: at most 20, of 500 characters each, each read as one line. Part of its instructions on every turn, so they are prompt tokens on every reply. The complete list: `null` or `[]` clears it.
|
|
4504
|
+
*/
|
|
4505
|
+
example_lines?: Array<string> | null;
|
|
4506
|
+
/**
|
|
4507
|
+
* Opening lines the agent picks one of at random each time it greets — or, with `first_message_generated` on, directions it picks one of to write one by: at most 10, of 1000 characters each. **When it lists any, `first_message` is not used.** A key's own `first_message` is still said in place of them. The complete list: `null` or `[]` clears it.
|
|
4508
|
+
*/
|
|
4509
|
+
first_messages?: Array<string> | null;
|
|
4510
|
+
/**
|
|
4511
|
+
* How random the replies are, 0 to 2. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
4512
|
+
*/
|
|
4513
|
+
temperature?: number | null;
|
|
4514
|
+
/**
|
|
4515
|
+
* How much of the likeliest words the model picks from, by their total probability, 0 to 1. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
4516
|
+
*/
|
|
4517
|
+
top_p?: number | null;
|
|
4518
|
+
/**
|
|
4519
|
+
* How many of the likeliest words the model picks from, 1 to 1,000. **Sent only to a model that still reads it: `gemini-3.1-flash-lite`.** Google ignores it on its newer models and asks for it to be left out, so for any other model it is kept and not sent. Google recommends leaving it unset on its Gemini 3 models, where a lower temperature can make replies loop. Unset sends none, so the model's own default applies.
|
|
4520
|
+
*/
|
|
4521
|
+
top_k?: number | null;
|
|
4522
|
+
/**
|
|
4523
|
+
* The same seed makes the same request answer more alike — useful when testing an agent. Never a guarantee. Unset is a new one each time.
|
|
4524
|
+
*/
|
|
4525
|
+
seed?: number | null;
|
|
4526
|
+
/**
|
|
4527
|
+
* Where the model stops writing a reply: at the first of these it writes, which is left out. At most 5, of 100 characters each. **One that could end a reply inside its mood line is refused** (422) — a mood opens a reply with `emotion_enabled` on, as `mood: happy 0.6` on a line of its own, so a newline, a space, a digit, `mood` or part of a mood's name would leave no reply. The complete list: `null` or `[]` clears it.
|
|
4528
|
+
*/
|
|
4529
|
+
stop_sequences?: Array<string> | null;
|
|
4530
|
+
/**
|
|
4531
|
+
* The platform's own tools this agent is not offered, while the feature each belongs to stays on: `search_knowledge` (its knowledge is still looked up before replies when `knowledge_lookup_first` is on), `forget_fact` (it cannot forget a fact when asked), `remember_conversation` (memories are still read from its conversations), `search_memories` (it knows a topic by its line alone) and `remember_relation` (the relationship stays as it is, and is still told to it). `hand_off` and `schedule_message` have switches of their own: `handoffs` and `outreach_tool`. The complete list: `null` or `[]` clears it.
|
|
4532
|
+
*/
|
|
4533
|
+
tools_off?: Array<'search_knowledge' | 'forget_fact' | 'remember_conversation' | 'search_memories' | 'remember_relation'> | null;
|
|
4271
4534
|
/**
|
|
4272
4535
|
* Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. The complete list, in order: `null` or `[]` clears it.
|
|
4273
4536
|
*/
|
|
@@ -4523,7 +4786,7 @@ export type AgentDraftUpdate = {
|
|
|
4523
4786
|
/**
|
|
4524
4787
|
* The settings this agent takes from your organisation's `agent_defaults` (`GET /v1/agents/settings`) instead of its own, by field name: the complete list, `null` or `[]` for none.
|
|
4525
4788
|
*
|
|
4526
|
-
* Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model
|
|
4789
|
+
* Each setting is followed on its own, except a model call's, which only work together and are followed as one: `model` with `thinking_level`, `thinking_summaries`, `max_output_tokens`, `temperature`, `top_p`, `top_k`, `seed` and `stop_sequences`; and for each of `compact`, `fact`, `memory` and `report`, its `_model`, `_thinking_level` and `_max_output_tokens`.
|
|
4527
4790
|
*
|
|
4528
4791
|
* A new agent follows every setting you did not set when you made it. An agent made before this existed follows none until you say so.
|
|
4529
4792
|
*
|
|
@@ -4531,7 +4794,7 @@ export type AgentDraftUpdate = {
|
|
|
4531
4794
|
*
|
|
4532
4795
|
* Naming one field of a set names all of it. A section's name — `voice`, `safety` and the rest of the console's tabs — stands for every field of it.
|
|
4533
4796
|
*/
|
|
4534
|
-
org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
|
|
4797
|
+
org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
|
|
4535
4798
|
/**
|
|
4536
4799
|
* The whole set of tools the agent would have, by `tl_…`; omitted, the draft's as they are. Ids not yours are left out.
|
|
4537
4800
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumavox/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.52.0",
|
|
4
4
|
"description": "The Lumavox API from your server: end users, ephemeral keys and the rest, typed from the published OpenAPI document. Zero dependencies.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|