Skip to content

[Bug] Bridge 未启用。请在 config.toml 中启用 [bridge] 以支持网页聊天。 #399

@jianzhoujz

Description

@jianzhoujz

cc-connect Version

1.2.2-beta5

Operating System

macOS

Agent Type

Other

Platform

DingTalk

Installation Method

npm (npm install -g cc-connect)

Bug Description

我已经配置了[bridge],重启过cc-connect,在web管理后台的会话页显示“Bridge 未启用。请在 config.toml 中启用 [bridge] 以支持网页聊天。”

Steps to Reproduce

  1. 安装cc-connect 1.2.2-beta5。
  2. 配置web后台
  3. 进入web会话
  4. 提示“Bridge 未启用。请在 config.toml 中启用 [bridge] 以支持网页聊天。”

Expected Behavior

正常使用web会话

Actual Behavior

提示“Bridge 未启用。请在 config.toml 中启用 [bridge] 以支持网页聊天。”

Configuration (config.toml)

data_dir = ""
attachment_send = ""
language = "zh"

[[projects]]
  name = "all-projects"
  mode = "multi-workspace"
  base_dir = "/Users/a/a"
  admin_from = "1"

  [projects.agent]
    type = "qoder"

    [projects.agent.options]
      mode = "yolo"
      model = "auto"

  [[projects.platforms]]
    type = "dingtalk"

    [projects.platforms.options]
      client_id = "1"
      client_secret = "1"

[log]
  level = ""

[speech]
  enabled = false
  provider = ""
  language = ""

  [speech.openai]
    api_key = ""
    base_url = ""
    model = ""

  [speech.groq]
    api_key = ""
    model = ""

  [speech.qwen]
    api_key = ""
    base_url = ""
    model = ""

[tts]
  enabled = false
  provider = ""
  voice = ""
  tts_mode = ""
  max_text_len = 0

  [tts.openai]
    api_key = ""
    base_url = ""
    model = ""

  [tts.qwen]
    api_key = ""
    base_url = ""
    model = ""

  [tts.minimax]
    api_key = ""
    base_url = ""
    model = ""







[webhook]
  port = 0

[bridge]
  enabled = true
  port = 9810
  token = "1"
  cors_origins = ["*"]

[management]
  enabled = true
  port = 9820
  token = "1"
  cors_origins = ["*"]

Logs / Error Output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions