Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Apr 24, 2024
1 parent 2a7b667 commit 3fbaa13
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/resources/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,26 @@ export interface AgentResponse {
/**
* Unique id of agent.
*/
agent_id?: string;
agent_id: string;

/**
* Last modification timestamp (milliseconds since epoch). Either the time of last
* update or creation if no updates available.
*/
last_modification_timestamp: number;

/**
* The URL we will establish LLM websocket for getting response, usually your
* server. Check out [LLM WebSocket](/api-references/llm-websocket) for more about
* request format (sent from us) and response format (send to us).
*/
llm_websocket_url: string;

/**
* Unique voice id used for the agent. Find list of available voices and their
* preview in Dashboard.
*/
voice_id: string;

/**
* The name of the agent. Only used for your own reference.
Expand Down Expand Up @@ -147,19 +166,6 @@ export interface AgentResponse {
| 'pt-BR'
| 'fr-FR';

/**
* Last modification timestamp (milliseconds since epoch). Either the time of last
* update or creation if no updates available.
*/
last_modification_timestamp?: number;

/**
* The URL we will establish LLM websocket for getting response, usually your
* server. Check out [LLM WebSocket](/api-references/llm-websocket) for more about
* request format (sent from us) and response format (send to us).
*/
llm_websocket_url?: string;

/**
* Disable transcripts and recordings storage for enhanced privacy. Access
* transcripts securely via webhooks. If not set, default value of false will
Expand All @@ -175,12 +181,6 @@ export interface AgentResponse {
*/
responsiveness?: number;

/**
* Unique voice id used for the agent. Find list of available voices and their
* preview in Dashboard.
*/
voice_id?: string;

/**
* Controls speed of voice. Value ranging from [0.5,2]. Lower value means slower
* speech, while higher value means faster speech rate. If unset, default value 1
Expand Down

0 comments on commit 3fbaa13

Please sign in to comment.