Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Close #114
This is a quick temporary fix for the issue where fixup replacement contains
![image](https://private-user-images.githubusercontent.com/68532117/253093896-0a22fffd-7968-4d3b-8dc4-0c26824af69b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE2MjE0MjMsIm5iZiI6MTcyMTYyMTEyMywicGF0aCI6Ii82ODUzMjExNy8yNTMwOTM4OTYtMGEyMmZmZmQtNzk2OC00ZDNiLThkYzQtMGMyNjgyNGFmNjliLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIyVDA0MDUyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEzOWEwYzAxOTFkYzhlMTQ3YzllYjE4YWE3ZjJhZTVlOGEwYjhjZGY0YWEyYmMxODBiMDk1NmE0OTBlNzA1M2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2gYXYwlM1k_K4H2FSBlfaiHd60PVoADcw0mMOLlZfic)
</selection>
tag at the end:This fix is served as a temporary fix as Dom's PR #70 to improve the multiplexer should fix this issue properly.
![image](https://private-user-images.githubusercontent.com/68532117/253094141-ac93f843-1c36-4ad1-920e-ce1dd26c0d48.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE2MjE0MjMsIm5iZiI6MTcyMTYyMTEyMywicGF0aCI6Ii82ODUzMjExNy8yNTMwOTQxNDEtYWM5M2Y4NDMtMWMzNi00YWQxLTkyMGUtY2UxZGQyNmMwZDQ4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIyVDA0MDUyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2MzZkZTRmZmRiNzg0YWJmNjI1ZmVmZGJjZmI1NjNiMTljYmQwZTA2Mjk5YTE1NWE2MDVjMjhlMWFjODM4ZmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ZMf__ZHTEON9nXotSLw7nj4pgJWYGtSCxnZxcabEhLM)
Adding this line of code however, could use as a fallback in the future and should not break anything before and after Dom's PR:
Also added error handling to surface error messages during the inline fixup step.
Notes
Looks like the issue was a regression from sourcegraph/sourcegraph#54665 as this issue does not exist when switching to the previous version (0.4.2). As the response is now being streamed to Inline Chat, caused the result to be sent to the multiplexer before the turn is marked as completed.
Test Plan
</selection>
at the end