mirror of
https://github.com/ddworken/hishtory.git
synced 2024-12-23 23:39:02 +01:00
Remove outdated TODO
This commit is contained in:
parent
1a450c0817
commit
dd6cf710c7
@ -438,7 +438,6 @@ func renderNullableTable(m model) string {
|
||||
}
|
||||
|
||||
func getRowsFromAiSuggestions(ctx context.Context, columnNames []string, query string) ([]table.Row, []*data.HistoryEntry, error) {
|
||||
// TODO: Add debouncing here so we don't waste API queries on half-typed search queries
|
||||
suggestions, err := ai.DebouncedGetAiSuggestions(ctx, strings.TrimPrefix(query, "?"), 5)
|
||||
if err != nil {
|
||||
return nil, nil, fmt.Errorf("failed to get AI query suggestions: %w", err)
|
||||
|
Loading…
Reference in New Issue
Block a user