Skip to content

Vertex (override/custom model provider); inspect request? #42

@ikmolbo

Description

@ikmolbo

Hi,

This library looks really useful - thank you. I have a few questions:

  • The HTTP client mentions that it supports Pooling, but are individual responses processed only once all responses have arrived (which is the way Laravel Pool does it by default), or is there an option to process each response as it arrives (which is what I need)? Can you provide an example of its usage, including how responses are handled?
  • I use Cloudflare AI Gateway for fallback support, which involves sending multiple provider requests wrapped in a single request to Cloudflare. Is request middleware the place to do this? That is, get a single request to Gemini, duplicate it and wrap it in the required Cloudflare AI Gateway format? Or better to write a custom provider if that's possible?

Thanks again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions