TabbyML / tabby

Self-hosted AI coding assistant
https://tabby.tabbyml.com/
Other
18.25k stars 767 forks source link

fix(ui): add backward compatibilty for line query #2468

Closed liangfung closed 1 week ago

liangfung commented 1 week ago

Background

In PR #2436 , i updated the comcatenation logic for URL in the chat view of VSCode client to use hash like #L{number} instead of searchParam like ?line={number} https://github.com/TabbyML/tabby/pull/2436/files#diff-22897189febb57c85bc910ac40ed86b59d35c03d5e051b9c4741c37eb749bfc7R109

Solution

add a backward compatibilty logic