Extra brackets automatically added during AI autocompletion with Continue.dev extension
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- debian, java, typescript
Hướng nghiên cứu
Tái hiện vấn đề với Continue.dev bằng cấu hình Codestral trong Robertor.java, sau đó so sánh việc chèn phần hoàn thành mã với VS Code gốc hoặc GitHub Codespaces. Bắt đầu bằng cách lần theo điểm vào chèn văn bản của ghost-view được đề cập trong báo cáo; hoàn thành khi việc chấp nhận tính năng tự động hoàn thành không còn thêm một dấu ngoặc thừa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: Chrome
- Remote OS: Debain 12
code-server --version: 1.101.2
Steps to Reproduce
Step 1: Install Continue.dev
Install the Continue.dev extension in your IDE.
Step 2: Configure Continue with Codestral Free API
Configure Continue to use the Codestral free API key for autocomplete functionality.
Example Configuration
name: Local Assistant
version: 1.0.0
schema: v1
models:
- name: Codestral
provider: mistral
model: codestral-latest
apiKey: XXXXXXXXXXXXXXXXXXXXXXXXXX
roles:
- autocomplete
- chat
- edit
- apply
context:
- provider: code
- provider: docs
- provider: diff
- provider: terminal
- provider: problems
- provider: folder
- provider: codebase
Step 3: Enable Auto-complete
Enable the auto-complete feature in Continue.dev settings.
Step 4: Create Test File
Create a new file named Robertor.java and add the following comment:
// a java swing programm that takes an input X number and display a circle with the radius of X
Step 5: Test Autocomplete
- Move to the next line by pressing Enter
- Accept suggestions using the Tab key
Issue: Extra Bracket Appears
An extra bracket appears during autocomplete, as demonstrated in the capture video.
https://github.com/user-attachments/assets/2f9fb6a3-a250-493b-a956-b6383cf01217
Expected
No extra bracket like in openvscode-server or codespaces :
https://github.com/user-attachments/assets/8e67a3b5-118f-4f26-81d8-d0e11c4f486b
Actual
I dont know but code completion appearing in continue console doesnt'have bracket .
That means that the issue is during insertion in the ghost view text , something is auto adding brackets.
Logs
Screenshot/Video
On code-server , extra bracket :
https://github.com/user-attachments/assets/2f9fb6a3-a250-493b-a956-b6383cf01217
Working example on codespace :
https://github.com/user-attachments/assets/aadf4d89-d307-4e96-b304-ed4461a8c5d2
Does this bug reproduce in native VS Code?
No, this works as expected in native VS Code
Does this bug reproduce in GitHub Codespaces?
No, this works as expected in GitHub Codespaces
Are you accessing code-server over a secure context?
- I am using a secure context.
Notes
No response
- Ngôn ngữ chính
- TypeScript
- Star
- 79.9k
- Fork
- 6.9k
- Merge trung bình
- 20 giờ 21 phút
- Pull request đã merge (30 ngày)
- 51
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của coder/code-server
-
Error not trueĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
coder/code-server#8148 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 51/100
coder/code-server#8145 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
coder/code-server#8142 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: --proxy-domain does not proxy when the host includes a portCó thể đã có người làm @adityajai119 đã nhận 11 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
coder/code-server#8128 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: /healthz with a query string triggers a heartbeatCó thể đã có người làm @adityajai119 đã nhận 11 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
coder/code-server#8126 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của coder/code-server
Issue tương tự
-
Y2025: QBI forms print a negative taxable income; Form 8995-A lines 14b/14c check the wrong columnĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
readest/readest#7903 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type: documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Oddmash/oddmash-ui#72 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
TMHSDigital/steam-mcp#106 ·
-
bug priority:p3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
LCNINE/almondyoung-server#1562 ·
Maintainer thường phản hồi trong vòng 1 ngày