continue icon indicating copy to clipboard operation
continue copied to clipboard

builtin_grep_search fails for remote repos

Open avneeshs1 opened this issue 4 months ago • 0 comments

Before submitting your bug report

Relevant environment info

- OS: Linux (remote), macOS (local running VSCode client)
- Continue version: 1.1.47 (Extension forced to run on remote host)
- IDE version: VSCode Insiders 1.102.0-insider
- Model: openai/o3
- config:
  
%YAML 1.1
---
# define keys
openai_model: &openai_model
  with:
    OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

anthropic_model: &anthropic_model
    with:
      ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}

# main config
name: Copilot
version: 1.0.0
schema: v1

models:
  - uses: anthropic/claude-4-sonnet
    <<: *anthropic_model

  - uses: anthropic/claude-3-5-haiku
    <<: *anthropic_model
    override:
      roles:
        - apply

  - uses: openai/o3
    <<: *openai_model
    override:
      defaultCompletionOptions:
        contextLength: 200000
        maxTokens: 100000
        stream: false
      capabilities:
          - tool_use
          - image_input
        
    
  - uses: openai/gpt-4.1
    <<: *openai_model

  - uses: openai/o4-mini
    <<: *openai_model

  - uses: ollama/qwen2.5-coder-1.5b
    override:
      title: "Ollama autocomplete (Remote)"
      roles:
        - autocomplete

  - uses: ollama/nomic-embed-text-latest
    override:
      title: "Ollama embedding (Remote)"


docs:
  - name: Continue
    startUrl: https://docs.continue.dev
  - name: Pandas
    startUrl: https://pandas.pydata.org/docs/
  - name: NumPy
    startUrl: https://numpy.org/doc/stable/
  - name: PyMC
    startUrl: https://www.pymc.io/welcome.html


context:
  - provider: file
  - provider: code
  - provider: diff
  - provider: currentFile
  - provider: terminal
  - provider: docs
  - provider: open
  - provider: web
  - provider: codebase
  - provider: folder
  - provider: search
  - provider: url
  - provider: clipboard
  - provider: tree
  - provider: problems
  - provider: repo-map
    params:
      includeSignatures: false
  - provider: os
  - provider: problems

Description

Continue.dev extension is running on remote host. And, everything works but when the LLM tries to use builtin_grep_search tool in agent mode, the call fails with this message:


builtin_grep_search failed with the message: Ripgrep not supported, this workspace is remote

Please try something else or request further instructions.

I believe the culprit is this: https://github.com/continuedev/continue/blob/a5f8b8a6dad6628e5b6765c8a4a57de68240b2cc/extensions/vscode/src/VsCodeIde.ts#L529

Maybe change this check to use the running location of the extension is a better way to handle to determine if files are local or remote?

To reproduce

No response

Log output


avneeshs1 avatar Jun 12 '25 21:06 avneeshs1