File tree Expand file tree Collapse file tree 4 files changed +6
-14
lines changed
Expand file tree Collapse file tree 4 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -771,7 +771,9 @@ export class LiveGenerativeModel extends AIModel {
771771
772772// @beta
773773export interface LiveModelParams {
774+ // (undocumented)
774775 generationConfig? : LiveGenerationConfig ;
776+ // (undocumented)
775777 model: string ;
776778 // (undocumented)
777779 systemInstruction? : string | Part | Content ;
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ export interface LiveModelParams
2525
2626| Property | Type | Description |
2727| --- | --- | --- |
28- | [generationConfig ](./ai .livemodelparams .md #livemodelparamsgenerationconfig ) | [LiveGenerationConfig ](./ai .livegenerationconfig .md #livegenerationconfig_interface ) | <b ><i >(Public Preview )</i ></b > Configuration parameters used for live content generation . |
29- | [model ](./ai .livemodelparams .md #livemodelparamsmodel ) | string | <b ><i >(Public Preview )</i ></b > The model name . |
28+ | [generationConfig ](./ai .livemodelparams .md #livemodelparamsgenerationconfig ) | [LiveGenerationConfig ](./ai .livegenerationconfig .md #livegenerationconfig_interface ) | <b ><i >(Public Preview )</i ></b > |
29+ | [model ](./ai .livemodelparams .md #livemodelparamsmodel ) | string | <b ><i >(Public Preview )</i ></b > |
3030| [systemInstruction ](./ai .livemodelparams .md #livemodelparamssysteminstruction ) | string \| [Part ](./ai .md #part ) \| [Content ](./ai .content .md #content_interface ) | <b ><i >(Public Preview )</i ></b > |
3131| [toolConfig ](./ai .livemodelparams .md #livemodelparamstoolconfig ) | [ToolConfig ](./ai .toolconfig .md #toolconfig_interface ) | <b ><i >(Public Preview )</i ></b > |
3232| [tools ](./ai .livemodelparams .md #livemodelparamstools ) | [Tool ](./ai .md #tool )<!-- -->\[\] | <b ><i >(Public Preview )</i ></b > |
@@ -36,8 +36,6 @@ export interface LiveModelParams
3636> This API is provided as a preview for developers and may change based on feedback that we receive . Do not use this API in a production environment .
3737>
3838
39- Configuration parameters used for live content generation .
40-
4139<b >Signature :</b >
4240
4341```typescript
@@ -49,8 +47,6 @@ generationConfig?: LiveGenerationConfig;
4947> This API is provided as a preview for developers and may change based on feedback that we receive . Do not use this API in a production environment .
5048>
5149
52- The model name .
53-
5450<b >Signature :</b >
5551
5652```typescript
Original file line number Diff line number Diff line change @@ -112,10 +112,10 @@ describe('NodeWebSocketHandler', () => {
112112 }
113113 } ) ( ) ;
114114
115- await new Promise ( r => setTimeout ( r , 500 ) ) ;
115+ await new Promise ( r => setTimeout ( r , 50 ) ) ;
116116 // The server's `send` method can handle Buffers/Uint8Arrays
117117 server . clients . forEach ( client => client . send ( bufferData ) ) ;
118- await new Promise ( r => setTimeout ( r , 500 ) ) ;
118+ await new Promise ( r => setTimeout ( r , 50 ) ) ;
119119 await handler . close ( ) ;
120120
121121 await consumerPromise ;
Original file line number Diff line number Diff line change @@ -51,13 +51,7 @@ export interface ModelParams extends BaseParams {
5151 * @beta
5252 */
5353export interface LiveModelParams {
54- /**
55- * The model name.
56- */
5754 model : string ;
58- /**
59- * Configuration parameters used for live content generation.
60- */
6155 generationConfig ?: LiveGenerationConfig ;
6256 tools ?: Tool [ ] ;
6357 toolConfig ?: ToolConfig ;
You can’t perform that action at this time.
0 commit comments