continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
19.28k stars 1.67k forks source link

gitlabmr windows not work #2464

Open rob1nzon opened 1 month ago

rob1nzon commented 1 month ago

Before submitting your bug report

Relevant environment info

- OS: Windows 11
- Continue: v0.9.212 (pre-release)
- IDE: VSCode
- Model: qwen2.5

Description

When use @gitlab-mr Error getting context items from gitlab-mr becase ; is not valid syntax on cmd.exe Error: Command failed: cd c:\Users\dens\Project\cliphub; git branch --show-current https://github.com/continuedev/continue/blob/70d9bc5d52f328d94867a7eb08a41ace3ad06c17/core/context/providers/GitLabMergeRequestContextProvider.ts#L68

To reproduce

  1. Go to continue
  2. Use @gitlab-mr

Log output

Error: Command failed: cd c:\Users\denis\Project\cliphub; git branch --show-current
���⥬� �� 㤠���� ���� 㪠����� ����.

    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at ChildProcess.exithandler (node:child_process:423:12)
    at ChildProcess.emit (node:events:519:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)
sestinj commented 1 month ago

https://github.com/continuedev/continue/commit/3aee3ca08cf621d4b2b52b04d185110c79221a8a just fixed here

sestinj commented 1 month ago

Will be in next release!