Skip to content

fix: bugs in ai chat#236

Open
abdulrehmann231 wants to merge 7 commits intogitwitorg:mainfrom
abdulrehmann231:fix/bugs-aichat
Open

fix: bugs in ai chat#236
abdulrehmann231 wants to merge 7 commits intogitwitorg:mainfrom
abdulrehmann231:fix/bugs-aichat

Conversation

@abdulrehmann231
Copy link
Collaborator

Issues fixed:

  • Empty File
    Reason: AI chat generating wrong file path
    Fix: Fix prompt

  • Diff view not shown
    Reasons: No editoref and no monaco model( was apply diff view before file was mounted)
    Fix: added retry and fixed sequence of actions

  • Wrong File names
    Reason: incorrect file name detection
    Fix: used filename marker to detect filename for each file instead of using regex only

  • incorrect diff view:
    Reason: AI chat was using ... to abbreviate code
    Fix: updated prompt and handling of ... in diff algo.

Closes #225

@vercel
Copy link

vercel bot commented Mar 12, 2026

@abdulrehmann231 is attempting to deploy a commit to the gitwit Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gitwit-production Ready Ready Preview, Comment Mar 12, 2026 5:45pm

Request Review

@github-actions github-actions bot added area: web Changes to the web app area: ai Changes to the AI package labels Mar 12, 2026
@akhileshrangani4 akhileshrangani4 changed the title Fix/bugs aichat fix: bugs in ai chat Mar 12, 2026
@github-actions github-actions bot added the change: fix Bug fix label Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ai Changes to the AI package area: web Changes to the web app change: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AI Chat] Instant resolve

2 participants