3 Commits

Author SHA1 Message Date
bobo.yang
bef66fb80e Update API key validation and handling
- Modified the API key validation logic to check for non-empty strings before validating.
- Updated the API key prefix from 'sk.' to 'sk-' in the ApiKeyManager and corresponding tests.
- Adjusted the test cases to reflect the new API key format.
2023-08-03 10:58:18 +08:00
bobo.yang
23883abc20 Update API endpoint in apiKey.test.ts
- Replace old endpoint with the new 'https://api.devchat.ai/v1' endpoint.
2023-07-24 00:11:56 +08:00
bobo.yang
ba097eab26 add unit tests for src 2023-05-31 16:10:53 +08:00