Skip to content

Fix TypeScript compilation error from invalid @google/genai import#1

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/fix-implementation-issues
Draft

Fix TypeScript compilation error from invalid @google/genai import#1
Copilot wants to merge 3 commits intomainfrom
copilot/fix-implementation-issues

Conversation

Copy link

Copilot AI commented Nov 19, 2025

TypeScript compilation was failing due to importing a non-existent ConnectCallbacks type from @google/genai.

Changes

  • services/geminiService.ts: Removed unused ConnectCallbacks import
    • The code defines its own LiveConnectionCallbacks interface and never references the imported type
    • LiveServerMessage and Blob types remain imported as they are actively used
- import type { LiveServerMessage, Blob, ConnectCallbacks } from '@google/genai';
+ import type { LiveServerMessage, Blob } from '@google/genai';
Original prompt

get this working correctly


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Nov 19, 2025
Copilot AI and others added 2 commits November 19, 2025 08:01
Co-authored-by: thejaypee <73725954+thejaypee@users.noreply.github.com>
…port

Co-authored-by: thejaypee <73725954+thejaypee@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix implementation issues for correct functionality Fix TypeScript compilation error from invalid @google/genai import Nov 19, 2025
Copilot AI requested a review from thejaypee November 19, 2025 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants