Skip to content

Connection to LLm in Version 2.x — Works in 1.7, Fails in Latest #584

Open
@mycybercatnet

Description

@mycybercatnet

--

Subject: API Connection Issue in Version 2.x — Works in 1.7, Fails in Latest

Description:

In the latest version of the application (>=2.0), I’m unable to connect to either Ollama or OpenAI backends. Everything works as expected in version 1.7, with identical configuration and environment.


Environment Variables:

OPENAI_ENDPOINT=http://192.168.1.54:8163/v1
OPENAI_API_KEY=************************************

OLLAMA_ENDPOINT=http://192.168.1.80:11434

ANTHROPIC_ENDPOINT=https://api.anthropic.com
ANTHROPIC_API_KEY=

GOOGLE_API_KEY=

AZURE_OPENAI_ENDPOINT=
AZURE_OPENAI_API_KEY=
AZURE_OPENAI_API_VERSION=2025-01-01-preview

DEEPSEEK_ENDPOINT=https://api.deepseek.com
DEEPSEEK_API_KEY=

MISTRAL_API_KEY=
MISTRAL_ENDPOINT=https://api.mistral.ai/v1

Observed Behavior:

  • In version 2.x, the app fails to connect to both OLLAMA_ENDPOINT and OPENAI_ENDPOINT.
  • No output or error logs are clearly visible — just silent failure or fallback.
  • Rolling back to version 1.7 restores full functionality with the same environment and API endpoints.

Expected Behavior:

  • App should establish connections to Ollama and OpenAI backends using the provided endpoints.
  • At minimum, meaningful error logs should appear if the connection fails.

Additional Notes:

  • Network, API keys, and server accessibility have been verified.
  • Equipment, configuration, and environment variables are identical between version 1.7 and 2.x.

Could you please investigate what changed in the connection logic or model provider handling in version 2.x?


Хочешь, я добавлю скриншот или пример curl-запроса к API для доказательства, что endpoint доступен?

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