-
Notifications
You must be signed in to change notification settings - Fork 5k
Bugfix: Citation Parsing Issue (Version 2) #2056
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@bnodir I've had a reported regression for customers with whitespace in their filenames. This PR used /^[^\s]+.[a-zA-Z0-9]+/ for the regex, could we loosen that to allow internal whitespace? |
@pamelafox - Sorry for the regression. I was able to reproduce it on my side. Here is my suggestion, what do you think:
|
Pardon my jumping in. This is definitely an issue for my new deployments, ever since For example, What's even more baffling is that the same sources that were parsed to links sometimes will not on a new chat session and vise versa. |
I apologize for the inconvenience caused by the recent changes. I’ll work on resolving this issue to the best of my ability over the weekend, though I can’t guarantee a complete solution. If needed, I may also consider requesting a reversion of the changes from this PR. Thank you for your patience. |
No worries, please let me know if you'd like me to test any changes. Thanks |
@nickmachairas - I came up with const [Streaming=ON]console-export-2024-10-27_12-59-18.txt [Streaming=OFF]console-export-2024-10-27_13-4-16.txt
|
Purpose
Fix for:
In this PR, I implemented the following approach:
【Before】

【After】

【Test strings】
◇Testing [km/h], [speed.pdf], [Menu]-[Sub-menu]-[Command], report.txt [summary.pdf], [[document.docx]], [[[file.docx]]], [note1]], [[[note2]], [cm], [m], [kg], [g], [L], [ml], [°C], [°F].◆
console-export_[Streaming]=ON.log
console-export_[Streaming]=OFF.log
Does this introduce a breaking change?
When developers merge from main and run the server, azd up, or azd deploy, will this produce an error?
If you're not sure, try it out on an old environment.
Does this require changes to learn.microsoft.com docs?
This repository is referenced by this tutorial
which includes deployment, settings and usage instructions. If text or screenshot need to change in the tutorial,
check the box below and notify the tutorial author. A Microsoft employee can do this for you if you're an external contributor.
Type of change
Code quality checklist
See CONTRIBUTING.md for more details.
python -m pytest
).python -m pytest --cov
to verify 100% coverage of added linespython -m mypy
to check for type errorsruff
andblack
manually on my code.