Update test to expect new model in axios request
Deploy to NAS / deploy (push) Successful in 52s

This commit is contained in:
2026-01-08 20:30:58 -05:00
parent 4c38488161
commit ab91c98360
+2 -2
View File
@@ -102,7 +102,7 @@ describe('Ask Command', () => {
expect(axios.post).toHaveBeenCalledWith( expect(axios.post).toHaveBeenCalledWith(
'https://nano-gpt.com/api/v1/chat/completions', 'https://nano-gpt.com/api/v1/chat/completions',
expect.objectContaining({ expect.objectContaining({
model: 'deepseek/deepseek-v3.2', model: 'zai-org/glm-4.7',
}), }),
expect.any(Object), expect.any(Object),
); );
@@ -258,4 +258,4 @@ describe('Ask Command', () => {
await expect(askCommand.run(interaction)).rejects.toThrow('Failed to follow up'); await expect(askCommand.run(interaction)).rejects.toThrow('Failed to follow up');
}); });
}); });
}); });