Skip to content

feat(copilot): update message formatting and improve message box detection logic#203

Open
35C4n0r wants to merge 3 commits intomainfrom
35C4n0r/feat-copilot-formatting-update
Open

feat(copilot): update message formatting and improve message box detection logic#203
35C4n0r wants to merge 3 commits intomainfrom
35C4n0r/feat-copilot-formatting-update

Conversation

@35C4n0r
Copy link
Collaborator

@35C4n0r 35C4n0r commented Mar 11, 2026

No description provided.

@35C4n0r 35C4n0r self-assigned this Mar 11, 2026
@35C4n0r 35C4n0r marked this pull request as draft March 11, 2026 12:46
@github-actions
Copy link

✅ Preview binaries are ready!

To test with modules: agentapi_version = "agentapi_203" or download from: https://github.com/coder/agentapi/releases/tag/agentapi_203

@35C4n0r 35C4n0r marked this pull request as ready for review March 13, 2026 10:57
@35C4n0r 35C4n0r requested a review from johnstcn March 13, 2026 10:57
Comment on lines +31 to +35
(strings.Contains(lines[i+1], "|") || strings.Contains(lines[i+1], "│") || strings.Contains(lines[i+1], "❯")) {
if (i+2 < len(lines) && strings.Contains(lines[i+2], "───────────────")) ||
(i+3 < len(lines) && strings.Contains(lines[i+3], "───────────────")) {
return i
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point I think a regex might actually be simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants