Skip to content
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

[Frontend] Automatic detection of chat content format from AST #9919

Merged
merged 27 commits into from
Nov 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
d484401
Write out skeleton code
DarkLight1337 Nov 1, 2024
b91de40
Iterate
DarkLight1337 Nov 2, 2024
569c076
Update docs and logs
DarkLight1337 Nov 2, 2024
4a1b1e0
Improve detection
DarkLight1337 Nov 2, 2024
0410d9f
Add and fix tests
DarkLight1337 Nov 2, 2024
4856117
Merge branch 'main' into chat-template-content-format
DarkLight1337 Nov 5, 2024
54c25c3
Improve error handling
DarkLight1337 Nov 5, 2024
fea7481
Add example
DarkLight1337 Nov 5, 2024
825ebe9
Merge branch 'main' into chat-template-content-format
DarkLight1337 Nov 7, 2024
7e6772d
Merge branch 'main' into chat-template-content-format
DarkLight1337 Nov 8, 2024
4afe254
Remove repeated definition
DarkLight1337 Nov 8, 2024
67fcdad
Merge branch 'main' into chat-template-content-format
DarkLight1337 Nov 9, 2024
77951a2
Merge branch 'main' into chat-template-content-format
DarkLight1337 Nov 13, 2024
231b4d9
Remove unused attribute
DarkLight1337 Nov 13, 2024
656b334
Consider variable reassignment
DarkLight1337 Nov 13, 2024
3cec391
Cleanup
DarkLight1337 Nov 13, 2024
6299788
Merge branch 'main' into chat-template-content-format
DarkLight1337 Nov 13, 2024
f00419d
Fix
DarkLight1337 Nov 13, 2024
7c594e1
format
DarkLight1337 Nov 13, 2024
5b87baf
Simplify the code
DarkLight1337 Nov 13, 2024
4b3dd75
Fix bug when chat_template is None
DarkLight1337 Nov 13, 2024
a75d813
Merge branch 'main' into chat-template-content-format
DarkLight1337 Nov 13, 2024
03f6e98
Recurse into var assignment
DarkLight1337 Nov 13, 2024
d98735e
Merge branch 'main' into chat-template-content-format
DarkLight1337 Nov 14, 2024
c8a6a75
Fix redundant check
DarkLight1337 Nov 15, 2024
1ea0b37
Use iterative BFS
DarkLight1337 Nov 15, 2024
ea474fa
Merge branch 'main' into chat-template-content-format
DarkLight1337 Nov 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into chat-template-content-format
DarkLight1337 committed Nov 13, 2024
commit a75d813d6dc3ed784dc8462da8ba7f2d50d9f6cb

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.