这是indexloc提供的服务,不要输入任何密码
Skip to content

Ollama crashes on conversation start #499

@ThatOneCalculator

Description

@ThatOneCalculator

Only occurs on anything-llm, other frontends don't have this issue. Ollama built from source running on host, ollama/ollama@2a2fa3c

Screenshot:

image

From the Podman container:

[TELEMETRY SENT] {
  event: 'server_boot',
  distinctId: 'ad98c37a-8a86-4625-bc10-a76a89ba3024',
  properties: { commit: '--' }
}
Primary server listening on port 3001
/app/server/utils/chats/stream.js:240
        fullText += chunk.message.content;
                                  ^

TypeError: Cannot read properties of undefined (reading 'content')
    at /app/server/utils/chats/stream.js:240:35
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Originally posted by @ThatOneCalculator in #495 (comment)

Metadata

Metadata

Assignees

No one assigned

    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