Skip to content

[WEB-UI] No new session can be started #18

Description

@alexyaroshuk

Description

Description
Description
When trying to open a new session and sending the first message, the message can't be submitted.

Instead a lot of new session are created, all with a new placeholder name. In none of them the typed message is sent and the text input is also not cleared.

These newly created session are not even created in the same workspace / directory path.

I attach a screen recoding of me trying to submit a prompt in a new session and then a screenshot of the other workspace / directory where these empty placeholder session are created.

The new session are created in the base directory the server is running in.

In exisiting sessions new messages can be send without a problem.

Additonal debugging
This only happens when the root workspace ~ is opened as a directory in the webUI.

The server is also started from that directory.

So there exists a workaround, the webUI needs to be reloaded once after removing/closing this root directory for it to work.

Plugins
none

OpenCode version
1.1.53

Steps to reproduce
Start opencode server opencode serve --hostname localhost --port 4096

Open WebUI

Open new session

Try to send first prompt

Screenshot and/or share link

Plugins
No response

OpenCode version
No response

Steps to reproduce
No response

Screenshot and/or share link
No response

Operating System
No response

Terminal
No response

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions