Skip to content

AI Now cannot connect to SiliconFlow API (configured correctly but fails) #136

@KidKing666

Description

@KidKing666

Describe the bug
I am unable to use SiliconFlow API in AI Now even though the configuration is correct.
The Python test script can successfully call SiliconFlow API (status 200), but when using AI Now's built-in model call function, it always fails with:
"AI Now failed to get a response from the model provider."
This suggests the issue is within AI Now's internal compatibility layer, not the API key or network.

To Reproduce

  1. Configure SiliconFlow as a custom OpenAI-compatible provider in AI Now.
  2. Set base_url: https://api.siliconflow.cn/v1
  3. Set correct API key and model: deepseek-ai/DeepSeek-V3.2
  4. Save configuration and restart AI Now
  5. Send a simple prompt -> Observe failure

Expected behavior
AI Now should successfully call SiliconFlow API using the provided configuration..

Screenshots
Image
Image

Additional context

  • Python test script confirms API key/network/model are valid (status 200)
  • Issue only occurs in AI Now, not in direct Python requests
  • AI Now seems to force GitHub Copilot compatibility patches, which may break SiliconFlow
  • Configuration keeps being reset or not persisted

AI Now request failure diagnostics
message: AI Now failed to get a response from the model provider.

Connected MCP server: nowledge-mem
This usually means the model provider rejected the request or the endpoint failed before any content was returned.
source: silent
code: (unknown)
agent_log_path: C:\Users\14753\AppData\Roaming\co.nowledge.mem.desktop\kimi_home.kimi\logs\kimi.log
agent_log_summary: Connected MCP server: nowledge-mem
details: Connected MCP server: nowledge-mem
This usually means the model provider rejected the request or the endpoint failed before any content was returned.
stderr_tail:
[AI Now] Added plugin packages to PYTHONPATH: C:\Users\14753\ai-now\plugins\venv\lib
[AI Now] Applied ChatGPT backend compatibility patch for httpx
agent_log_tail:
Loaded tools: ['kimi_cli.tools.multiagent:Task', 'kimi_cli.tools.multiagent:CreateSubagent', 'kimi_cli.tools.think:Think', 'kimi_cli.tools.todo:SetTodoList', 'kimi_cli.tools.shell:Shell', 'kimi_cli.tools.file:ReadFile',…
Starting ACP server (AI Now patched) on stdio
ACP client connected
ACP server initialized with protocol version: 1, client capabilities: field_meta=None fs=FileSystemCapability(field_meta=None, read_text_file=True, write_text_file=True) terminal=True, client info: field_meta=None name=…
Creating new session for working directory: C:\Users\14753\ai-now\task-soft-vale
Received prompt request for session: 9ef1f282-f42e-4470-a031-c7909333572f
Connected MCP server: nowledge-mem
Connected MCP server: nowledge-mem

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