Skip to content

[Platform][VertexAI] Invalid service config #419

@1ed

Description

@1ed

Hi, I tired to use Vertex AI:

ai:
    platform:
        vertexai:
            location: '%env(GOOGLE_CLOUD_LOCATION)%'
            project_id: '%env(GOOGLE_CLOUD_PROJECT)%'

but I've got

Unable to dump a service container if a parameter is an object or a resource, got "Symfony\Component\HttpClient\EventSourceHttpClient".

it seems it comes from

ff296bf#diff-f2828d6c9ecf4603ca1695c4958952ae24994a6e697e0a6e5b57f7f1c336ee47R261-R267

We should define a factory here instead, don't we?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingPlatformIssues & PRs about the AI Platform componentStatus: Needs Review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions