Skip to content

[python]: Type hint on SessionConfig.model should be str rather than Literal? #169

@harupy

Description

@harupy

For example, claude-opus-4.5 should be valid, but a type checker rejects it

model: Literal["gpt-5", "claude-sonnet-4", "claude-sonnet-4.5", "claude-haiku-4.5"]

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