1. Keep session alive with ping-pong. 2. Refreshed tests.
This commit is contained in:
@@ -47,7 +47,7 @@ describe('LLMService', () => {
|
||||
expect(mockGenerateContent).toHaveBeenCalledTimes(1);
|
||||
const prompt = mockGenerateContent.mock.calls[0][0];
|
||||
expect(prompt).toContain(JSON.stringify(desireSets));
|
||||
expect(prompt).toContain('afraidToAsk' in each desire set);
|
||||
|
||||
expect(prompt).toContain('If an \'afraidToAsk\' idea matches, it should be treated as a \'want\'');
|
||||
expect(result).toEqual({
|
||||
goTo: 'apple',
|
||||
|
||||
Reference in New Issue
Block a user