Skip to content

[Install]: Failed to send message #358

@d-shehu

Description

@d-shehu

Installation Method

Docker (single container - v1-latest-single)

What is the issue?

Neat program and great to see someone building an alternative to Google's NotebookLM. Thanks.

Unfortunately, I've tried to configure it using llama.cpp using OpenAI compatible API as well as Ollama without success. In either case when trying to chat with the notebook it fails with toast notification.

 _Failed to send message_

In the logs, it says my model is "not language model". The notebook only contains a single URL to a wikipedia page which I could see was parsed by Open Notebook. For the simplest case I used Ollama models shown below for the embeddings and chat/transformation.

Confirmed my Ollama and Llama.cpp URLs are working & accessible via curl, OpenWebUI. Followed guides below. Thanks.

Open Notebook Health:

{"status":"healthy"

Ollama:

ollama list

NAME                        ID              SIZE      MODIFIED      
mxbai-embed-large:latest    468836162de7    669 MB    7 minutes ago    
gemma3:12b                  f4031aab637d    8.1 GB    2 months ago     

curl $OLLAMA_URL:11434 
Ollama is running

Guides:

1. https://github.com/lfnovo/open-notebook/blob/main/docs/features/ai-models.md
2. https://github.com/lfnovo/open-notebook/blob/main/docs/features/ai-models.md

Logs

2025-12-26 21:16:59.575 | ERROR    | api.routers.chat:execute_chat:384 - Error executing chat: Model is not a LanguageModel: None

Docker Compose Configuration

Testing with docker run before I deploy with Docker compose.


docker run --name=usr_llm_notebook \
        -p 26000:8502 \
        -p 26055:5055 \
        -e API_URL=http://${HOSTNAME}.${ENVIRONMENT}.${DOMAIN}:26055 \
        -e OPENAI_COMPATIBLE_BASE_URL=https://${LLAMACPP_URL}/v1 \
        -e OLLAMA_API_BASE=http://${OLLAMA_URL}:11434 \
        -e SURREAL_URL=ws://localhost:8000/rpc \
        -e SURREAL_USER=root \
        -e SURREAL_PASSWORD=root \
        -e SURREAL_NAMESPACE=open_notebook \
        -e SURREAL_DATABASE=production \
        -v ./app:/app/data \
        -v ./user:/mydata \
        lfnovo/open_notebook:v1-latest-single

Environment File

N/A

System Information

Ubuntu 24.04
Arch: x86 64

Additional Context

No response

Pre-submission Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    installationSetup, configuration, or deployment issuesneeds-triageNeeds initial review and classification

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions