Skip to content

Commit 819a8c2

Browse files
fix: unit test
1 parent e026359 commit 819a8c2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [cairo-chatbot, main]
5+
branches: [main]
66
pull_request:
7-
branches: [cairo-chatbot, main]
7+
branches: [main]
88

99
permissions:
1010
contents: read

packages/agents/__tests__/ragAgentFactory.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { RagPipeline } from '../src/core/pipeline/ragPipeline';
33
import { AvailableAgents, LLMConfig, DocumentSource } from '../src/types';
44
import { Embeddings } from '@langchain/core/embeddings';
55
import { BaseChatModel } from '@langchain/core/language_models/chat_models';
6-
import { VectorStore } from '../src/db/vectorStore';
6+
import { VectorStore } from '../src/db/postgresVectorStore';
77
import { mockDeep, MockProxy } from 'jest-mock-extended';
88
import { BaseMessage } from '@langchain/core/messages';
99
import EventEmitter from 'events';
@@ -103,7 +103,7 @@ describe('RagAgentFactory', () => {
103103
// Assert
104104
expect(RagPipeline).toHaveBeenCalledTimes(1);
105105
expect(emitter).toBeInstanceOf(EventEmitter);
106-
106+
107107
// Check streaming option is passed
108108
const executeSpy = (RagPipeline as jest.Mock).mock.results[0].value
109109
.execute;

0 commit comments

Comments
 (0)