TypeChat
TypeChat copied to clipboard
Update tests to call actual API if available, mock otherwise
Implemented in PR #430.
- Changed: model integration tests now call the configured API when
OPENAI_API_KEYandOPENAI_MODELare available, while retaining deterministic mocks otherwise. - Tests:
npm run build,npx tsc -p test, and the TypeScript Node test suite passed with 113 tests passing and one credential-gated test skipped. - PR: https://github.com/microsoft/TypeChat/pull/430