Skip to content

Client-side model selection (first-class) #237

Description

@jcourson-bg

What problem are you trying to solve?

There's no way for a client to choose which model a turn uses.

The model is fixed at author time in agent.ts (defineAgent({ model })). Neither HandleMessageRequestBody nor SendTurnPayload carries a model field.

For a chat app (Claude/ChatGPT-style) the user needs a model picker.

Proposed solution

Let the server declare a selectable set and let the client pick from it. Server stays authoritative.

Alternatives considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions