Skip to content

Commit 08e4cbb

Browse files
committed
lint
1 parent 35a1a09 commit 08e4cbb

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

plugins/google/src/beta/realtime/realtime_api.ts

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,32 @@
22
//
33
// SPDX-License-Identifier: Apache-2.0
44
import {
5-
type FunctionDeclaration,
6-
type FunctionResponse,
7-
type GoogleGenAIOptions,
8-
type LiveClientToolResponse,
9-
type Session,
105
ActivityHandling,
116
type AudioTranscriptionConfig,
127
Behavior,
8+
type Content,
139
type ContextWindowCompressionConfig,
10+
type FunctionDeclaration,
11+
type FunctionResponse,
1412
FunctionResponseScheduling,
1513
GoogleGenAI,
14+
type GoogleGenAIOptions,
1615
type HttpOptions,
17-
type RealtimeInputConfig,
18-
type LiveServerMessage,
16+
type LiveClientRealtimeInput,
17+
type LiveClientToolResponse,
1918
type LiveConnectConfig,
2019
type LiveServerContent,
20+
type LiveServerGoAway,
21+
type LiveServerMessage,
2122
type LiveServerToolCall,
2223
type LiveServerToolCallCancellation,
23-
type UsageMetadata,
24-
type ModalityTokenCount,
2524
MediaModality,
26-
type LiveServerGoAway,
2725
Modality,
28-
type Content,
29-
type LiveClientRealtimeInput
30-
} from "@google/genai";
26+
type ModalityTokenCount,
27+
type RealtimeInputConfig,
28+
type Session,
29+
type UsageMetadata,
30+
} from '@google/genai';
3131
import type { APIConnectOptions } from '@livekit/agents';
3232
import {
3333
APIConnectionError,
@@ -949,10 +949,7 @@ export class RealtimeSession extends llm.RealtimeSession {
949949
}
950950
}
951951

952-
private async onReceiveMessage(
953-
session: Session,
954-
response: LiveServerMessage,
955-
): Promise<void> {
952+
private async onReceiveMessage(session: Session, response: LiveServerMessage): Promise<void> {
956953
// Skip logging verbose audio data events
957954
const hasAudioData = response.serverContent?.modelTurn?.parts?.some(
958955
(part) => part.inlineData?.data,

0 commit comments

Comments
 (0)