Skip to content

[Bug] Model replies to greetings but fails querying Weaviate collections (logs include both gpt‑oss:20b and mistral:7b runs) #74

@gdapian

Description

@gdapian

Elysia version

0.2.7

Installation method

pip install elysia-ai (via requirements)

Is the issue occurring in the Elysia package or the Elysia web app?

Elysia web app (using the app via elysia start)

What happened?

Description

The model responds correctly to simple prompts like "hi", but fails when trying to query a Weaviate collection. Two logs are attached, covering sessions with different models: mistral:7b and gpt-oss:20b.

Environment

  • All components run locally: Elysia, LiteLLM, Ollama, Weaviate
  • Python 3.12
  • Weaviate endpoints: http://weaviate:8080, gRPC port 50051
  • Models tested: mistral:7b, gpt-oss:20b

MODEL_API_BASE=http://ollama:11434
BASE_PROVIDER=ollama
COMPLEX_PROVIDER=ollama
BASE_MODEL=mistral:7b
COMPLEX_MODEL=mistral:7b
WEAVIATE_URL=http://weaviate:8080
WEAVIATE_IS_LOCAL=true
LOCAL_WEAVIATE_PORT=8080
LOCAL_WEAVIATE_GRPC_PORT=50051
WCD_URL=
WCD_API_KEY=

Errors / Symptoms

  • litellm.APIConnectionErrorJSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Exception: Model picked an action query_postprocessing
    that is not in the available tools: ['text_response', 'aggregate', 'query']

Expected Behavior

Queries to Weaviate (“Question” collection) should return valid results, allowing Elysia to generate concise summaries.

Attachments

elysia_gpt-oss_20b_error.txt
elysia_mistral_7b_error.txt

Steps to reproduce

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions