10 Commits

Author SHA1 Message Date
bobo.yang
81c0e8be73 refactor: Simplify topic interaction in UI
- Remove topic-related views, commands, and handlers from the codebase
- Refactor code to align with the new unified topic interaction method
- Streamline UI by eliminating unnecessary elements and consolidating views
2024-02-05 11:19:01 +08:00
bobo.yang
dc1836510d remove command and action extension 2023-11-29 23:34:15 +08:00
bobo.yang
16046ec517 remove unused configuration config 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
944e4e0c9b Update customAction and add tests
- Change temp subdirectory from 'devchat/context' to 'devchat/action'.
- Add check for tempFile existence before unlinking.
- Add new test cases for actionManager and customAction.
2023-07-24 00:11:56 +08:00
bobo.yang
63ea89387b Update test cases to include args property
- Add args property to commandManager.test.ts test cases.
- Add args property to customCommand.test.ts test cases.
- Update sendMessageBase.test.ts to fix expected result.
2023-07-24 00:11:56 +08:00
bobo.yang
421b4e6f2e Update sendMessageBase tests after refactoring
- Removed tests for the getParentHash function in sendMessageBase.test.ts.
- This function was removed in a previous commit, so the tests are no longer needed.
2023-07-17 20:31:01 +08:00
bobo.yang
a349d8dd29 fix test cases 2023-05-31 16:57:39 +08:00
bobo.yang
ba097eab26 add unit tests for src 2023-05-31 16:10:53 +08:00