Skip to content

chat.session.prompt should use the last used model like the opencode cli. Instead it defaults to gpt-5-nano #2402

Closed

Description

@remorses

chat.session.prompt should use the last used model like the opencode cli. Instead it defaults to gpt-5-nano

When doing

await client.session
  .prompt({
    path: { id: session.data.id },
    body: {
      parts: [{ type: 'text', text: message }],˙
    },
  })

Activity

  1. self-assigned this
    on Sep 3, 2025
  2. rekram1-node commented on Sep 8, 2025

    @rekram1-node
    Collaborator

    depending on your flow this may work now, can you try again using latest?

  3. rekram1-node commented on Sep 18, 2025

    @rekram1-node
    Collaborator

    Just tested should be fixed due to changes I made last week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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