Files
connectai/tests/systemPrompt.test.ts
T

13 lines
533 B
TypeScript

import { getSystemPrompt } from '../src/utils';
describe('base system prompt', () => {
it('requires local project paths to be inspected before upload requests', () => {
const prompt = getSystemPrompt();
expect(prompt).toContain('Local Path Handling Rule');
expect(prompt).toContain('inspect the path before asking for uploads');
expect(prompt).toContain('Do not say "upload the source code"');
expect(prompt).toContain('For code review requests, first confirm path access');
});
});