Skip to content

Can't open visualize interface by moatless-api or moatless-streamlit #50

@Aoi-cn

Description

@Aoi-cn

I installed this in a clean environment created by conda with python 3.12.9

I use this command:
pip install "moatless[all]"

And when I run moatless-api, I Got:

2025-03-11 17:32:24,365 - moatless.api.api - INFO - API extras not installed, UI will not be served
2025-03-11 17:32:24,365 - moatless.api - INFO - Starting API server
INFO:     Started server process [22754]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)

with no UI and {"detail":"Not Found"} in the website.

I Got this for moatless-streamlit:

(moatless-4) aoia@AoiA-MacBook-Pro moatless-tools % moatless-streamlit                 
zsh: command not found: moatless-streamlit

After I installed moatless-search-tree by pip install moatless-tree-search , I got moatless-streamlit command but still can't run for the error after uploading json:

moatless.exceptions.RuntimeError: Failed to load AgenticLoop from traj.json: 1 validation error for CodingAgent system_prompt Input should be a valid string [type=string_type, input_value=None, input_type=NoneType] For further information visit https://errors.pydantic.dev/2.10/v/string_type

Besides, it seems that moatless-search-tree requests tree-sitter==0.21.0 while moatless-tools requests for 0.23.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions