Apply context window everywhere. Ensure styling is good on all screen sizes. Cleanup inconsistencies with upstream branch.
This commit is contained in:
parent
0bb860b154
commit
67ee9eff53
11 changed files with 30 additions and 54 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue