mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-12-15 08:08:16 +00:00
Apply context window everywhere. Ensure styling is good on all screen sizes. Cleanup inconsistencies with upstream branch.
This commit is contained in:
@@ -282,10 +282,7 @@ class MetaSearchAgent implements MetaSearchAgentType {
|
||||
.pipe(this.processDocs),
|
||||
}),
|
||||
ChatPromptTemplate.fromMessages([
|
||||
[
|
||||
'system',
|
||||
this.config.responsePrompt
|
||||
],
|
||||
['system', this.config.responsePrompt],
|
||||
new MessagesPlaceholder('chat_history'),
|
||||
['user', '{query}'],
|
||||
]),
|
||||
@@ -483,7 +480,7 @@ class MetaSearchAgent implements MetaSearchAgentType {
|
||||
fileIds,
|
||||
embeddings,
|
||||
optimizationMode,
|
||||
systemInstructions
|
||||
systemInstructions,
|
||||
);
|
||||
|
||||
const stream = answeringChain.streamEvents(
|
||||
|
||||
Reference in New Issue
Block a user