Skip to content

VertexAi depending ktor 2, time to update? #6737

Open
@Curwe

Description

@Curwe

[REQUIRED] Step 2: Describe your environment

  • Android Studio version: Meerkat Feature Drop Canary 7

  • Firebase Component: BOM, Crashlytics, Config, Messaging, Analytics and Vertexai

  • Component version: 33.10.0

  • Ktor version 3.1.1

  • Coil 3.1.0

[REQUIRED] Step 3: Describe the problem

Vertexai sdk is depending on a older version of ktor 2. And it makes apps running ktor 3 struggling.
I did read this on this closed issue #6413 that ktor 3 was to new and you want to wait, it's been a while now so I'll raise this issue again.

Steps to reproduce:

You can run the app with ktor 3 enabled. But as soon as I call generativeModel.startChat() the client crash with Caused by: java.lang.ClassNotFoundException: Didn't find class "io.ktor.client.plugins.HttpTimeout"

Hope this can be fixed in a soon rather then later release.
Cheers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions