Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Angle brackets in model prose are dropped or double-escaped

Đang mở
#1,578 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, markdown
Lĩnh vực
cli, frontend

Hướng nghiên cứu

Reproduce with the documented dev build and isolated profile, then compare the transcript, team's Traffic column, and senior-dev/task lines using the exact angle-bracket input. Trace the markdown-rendering and display entry points involved; done means both routes display verbatim in all three locations without dropping or double-escaping them.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:chat bug sev:serious

Seen on: dev 837b2b0.

Behaviour

Model text with angle brackets renders wrongly. DELETE /tasks/<id> showed as DELETE /tasks/&lt;id&gt; in one place, and elsewhere GET /tasks/<id> showed as GET /tasks/ (the <id> vanished). The text should show exactly as written.

Replication

  1. Build dev 837b2b0 (git checkout 837b2b0 && make build, binary bin/codeaf), or install the dev build with curl -fsSL https://agentfield.ai/get/devaf | bash.
  2. Use an isolated profile: export HOME=$(mktemp -d), export OPENROUTER_API_KEY, and keep the default model (~deepseek/deepseek-v4-flash-latest, crew on auto).
  3. On a busy machine set task.max_load to 0 (/settings, Tasks) so the busy-machine gate does not hold tasks.
  4. cd $(mktemp -d) && git init -q && codeaf.
  5. Send: Reply with exactly these two lines, no code block: GET /tasks/<id> and DELETE /tasks/<id>.
  6. Read the transcript, then the same text in a team's Traffic column and in a senior-dev landing line.

Evidence

  • Screen: DELETE /tasks/&lt;id&gt; (Traffic column) and GET /tasks/ (senior-dev line).
  • Code path not traced in this pass.

Guessed cause

A guess from reading the code, not a confirmed diagnosis. The markdown renderer treats <id> as an HTML tag and drops it; one other path escapes it twice.

Acceptance

  • e2e: the reply above shows GET /tasks/<id> and DELETE /tasks/<id> verbatim in the transcript, the Traffic column and task lines.

Found while writing the public docs; manual text differences are in #1545.

🤖 Generated with Claude Code

Ngôn ngữ chính
Go
Star
115
Fork
14
Merge trung bình
9 giờ 35 phút
Pull request đã merge (30 ngày)
752

Chuẩn bị môi trường

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Agent-Field/CodeAF

Tất cả issue của Agent-Field/CodeAF

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.