mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2026-01-09 04:58:14 -05:00
feat(app): lint & beautify
This commit is contained in:
@@ -3,7 +3,6 @@ import { suggestionGeneratorPrompt } from '@/lib/prompts/suggestions';
|
|||||||
import { ChatTurnMessage } from '@/lib/types';
|
import { ChatTurnMessage } from '@/lib/types';
|
||||||
import z from 'zod';
|
import z from 'zod';
|
||||||
import BaseLLM from '@/lib/models/base/llm';
|
import BaseLLM from '@/lib/models/base/llm';
|
||||||
import { i } from 'mathjs';
|
|
||||||
|
|
||||||
type SuggestionGeneratorInput = {
|
type SuggestionGeneratorInput = {
|
||||||
chatHistory: ChatTurnMessage[];
|
chatHistory: ChatTurnMessage[];
|
||||||
|
|||||||
@@ -43,6 +43,6 @@ export const searchSearxng = async (
|
|||||||
|
|
||||||
const results: SearxngSearchResult[] = data.results;
|
const results: SearxngSearchResult[] = data.results;
|
||||||
const suggestions: string[] = data.suggestions;
|
const suggestions: string[] = data.suggestions;
|
||||||
|
|
||||||
return { results, suggestions };
|
return { results, suggestions };
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user