mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-12-17 17:18:14 +00:00
feat(app): lint & beautify
This commit is contained in:
@@ -57,7 +57,7 @@ export const POST = async (req: Request) => {
|
|||||||
llm: llm,
|
llm: llm,
|
||||||
sources: ['web', 'discussions', 'academic'],
|
sources: ['web', 'discussions', 'academic'],
|
||||||
mode: 'balanced',
|
mode: 'balanced',
|
||||||
fileIds: []
|
fileIds: [],
|
||||||
},
|
},
|
||||||
followUp: body.query,
|
followUp: body.query,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import { Message } from '@/components/ChatWindow';
|
|
||||||
|
|
||||||
export const getSuggestions = async (chatHistory: [string, string][]) => {
|
export const getSuggestions = async (chatHistory: [string, string][]) => {
|
||||||
const chatTurns = chatHistory.map(([role, content]) => {
|
const chatTurns = chatHistory.map(([role, content]) => {
|
||||||
if (role === 'human') {
|
if (role === 'human') {
|
||||||
|
|||||||
Reference in New Issue
Block a user