17 Commits

Author SHA1 Message Date
bobo.yang
705db54231 support gpt-3.5-turbo-1106 model 2023-11-15 10:09:24 +08:00
bobo.yang
077aeec080 support gpt-4-turbo model 2023-11-14 17:29:54 +08:00
bobo.yang
203cd69cc3 fix base url error 2023-11-03 15:38:07 +08:00
bobo.yang
60906f9509 fix invalid key error 2023-10-26 22:45:31 +08:00
bobo.yang
b4e3f24fdb support code llama model 2023-10-09 08:42:55 +08:00
bobo.yang
d26a446547 support code llama model and starcoder model 2023-10-09 08:42:55 +08:00
bobo.yang
5a25cefbe1 Fix key not found issue 2023-10-09 08:12:51 +08:00
bobo.yang
ec7de83529 update devchat, remove anthropic provider 2023-10-01 16:58:08 +08:00
bobo.yang
86f21ef03e support more llm models 2023-09-26 14:46:14 +08:00
bobo.yang
21b07f44db update api key setting 2023-09-22 23:08:19 +08:00
bobo.yang
16046ec517 remove unused configuration config 2023-09-13 10:08:16 +08:00
bobo.yang
a7bb815df5 Use access key set by command while no valid key 2023-09-13 10:08:16 +08:00
bobo.yang
0ff9870cf6 Support multi llm model 2023-09-13 10:08:16 +08:00
bobo.yang
e2e761fd16 Separate handling for OpenAI and DevChat API keys
- Renamed and split the API key settings in package.json into DevChat and OpenAI specific keys.
- Updated the commands for setting API keys to handle OpenAI and DevChat keys separately.
- Modified the ApiKeyManager to handle and validate OpenAI and DevChat keys separately.
- Updated the status bar view to use the DevChat access key command.
- Adjusted the tests to reflect the new handling of API keys.
2023-08-03 15:09:34 +08:00
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
b5b9574ba7 update url for DevChat proxy 2023-06-06 18:47:22 +08:00
bobo.yang
ba097eab26 add unit tests for src 2023-05-31 16:10:53 +08:00