import { describe, it, expect } from 'vitest'; import { getThinkAndPrepAgentSystemPrompt } from './get-think-and-prep-agent-system-prompt'; describe('getThinkAndPrepAgentSystemPrompt', () => { it('should return system prompt with SQL dialect guidance', () => { const sqlDialectGuidance = 'PostgreSQL specific guidance'; const result = getThinkAndPrepAgentSystemPrompt(sqlDialectGuidance); expect(result).toContain('You are Buster, a specialized AI agent'); expect(result).toContain('PostgreSQL specific guidance'); expect(result).toContain("Today's date is"); }); it('should include all necessary sections', () => { const sqlDialectGuidance = 'MySQL specific guidance'; const result = getThinkAndPrepAgentSystemPrompt(sqlDialectGuidance); // Check for key sections expect(result).toContain(''); expect(result).toContain(''); expect(result).toContain(''); expect(result).toContain(''); expect(result).toContain(''); expect(result).toContain(''); expect(result).toContain(''); expect(result).toContain(''); expect(result).toContain(''); expect(result).toContain(''); }); });