Skip to content

OpenAI completion error: 400 JSON schema conversion failed: Pattern must start with '^' and end with '$ #1039

@AkumaTen

Description

@AkumaTen

Description of the bug

the version 0.18.0 introduces the error in the title when the MCP is added to kilo code (e.g ver 5.9.0) VS Code extension. the error occurs even in Roo Code.

I'm using the latest version of llama.cpp for windows and GLM 4.7 flash Q8 model and the error is displayed immediately after a simple prompt like "hello".

VS Code remotely attached to a WSL2 Ubuntu Noble distro with WSL2 configured as Mirrored

version 0.17.3 works fine of this MCP works fine

Reproduction

  1. add the MCP to kilo code or Roo Code
  2. write "hello" as the prompt
  3. get the error
  4. disable the MCP
  5. repeat the prompt
  6. the error is gone

Expectation

No response

MCP configuration

"chrome-devtools": {
            "command": "npx",
            "args": [
                "-y",
                "chrome-devtools-mcp@0.18.0",
                "--no-usage-statistics",
                "--no-performance-crux",
                "--browser-url=http://127.0.0.1:9222"
            ],
            "disabled": false,
            "alwaysAllow": [
                "click",
                "close_page",
                "drag",
                "emulate",
                "evaluate_script",
                "fill",
                "fill_form",
                "get_console_message",
                "get_network_request",
                "handle_dialog",
                "list_console_messages",
                "list_pages",
                "list_network_requests",
                "navigate_page",
                "new_page",
                "performance_analyze_insight",
                "performance_start_trace",
                "performance_stop_trace",
                "press_key",
                "resize_page",
                "select_page",
                "take_screenshot",
                "take_snapshot",
                "upload_file",
                "wait_for"
            ]
        }

Chrome DevTools MCP version

0.18.0

Chrome version

No response

Coding agent version

No response

Model version

No response

Chat log

No response

Node version

No response

Operating system

None

Extra checklist

  • I want to provide a PR to fix this bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions