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

feat(core): adding opened recent file to segments struct #3237

Merged
merged 2 commits into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions clients/tabby-openapi/lib/tabby.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ export interface components {
*
* Sorted in descending order of [Snippet::score]. */
relevant_snippets_from_changed_files?: components["schemas"]["Snippet"][] | null;
/** @description The relevant code snippets extracted from recently opened files. These snippets are selected from candidates found within code chunks based on the last visited location. Current Active file is excluded from the search candidates. When provided with [Segments::relevant_snippets_from_changed_files], the snippets have already been deduplicated to ensure no duplication with entries in [Segments::relevant_snippets_from_changed_files]. */
relevant_snippets_from_recently_opened_files?: components["schemas"]["Snippet"][] | null;
/** @description Clipboard content when requesting code completion. */
clipboard?: string | null;
};
Expand Down
Loading
Loading