Luo Tim
3d13e6c4c9
Add copy language platform info
2024-06-17 13:44:23 +08:00
Tim
e50b618da2
Merge pull request #70 from devchat-ai/extract-current-file-extension
...
Add ide and language info in code diff apply event
2024-06-17 13:32:58 +08:00
Luo Tim
7faf901574
Add ide and language info in code diff apply event
2024-06-17 13:31:24 +08:00
Tim
5b4fcf4010
Merge pull request #69 from devchat-ai/extract-current-file-extension
...
Extract current file extension from path
2024-06-17 13:21:48 +08:00
Luo Tim
d6f396de49
Extract current file extension from path
2024-06-17 13:21:23 +08:00
Tim
8c3d56d6bf
Merge pull request #68 from devchat-ai/fix-get-current-file-info
...
fix get current file info
2024-06-17 00:22:30 +08:00
Luo Tim
227ca06b05
fix get current file info
2024-06-17 00:21:59 +08:00
Tim
4050e44010
Merge pull request #67 from devchat-ai/get-current-file-language
...
get current file language from ide service
2024-06-17 00:17:59 +08:00
Luo Tim
40cbc1ded6
get current file language from ide service
2024-06-17 00:17:20 +08:00
Tim
47be1dd03d
Merge pull request #66 from devchat-ai/fix-ide-service-port-handler
...
Fix ide service port handler
2024-06-16 23:38:45 +08:00
Luo Tim
4e70335300
Fix ide service port handler
2024-06-16 23:38:21 +08:00
Tim
360bd78d55
Merge pull request #65 from devchat-ai/support-ide-service-calling
...
Support IDE service calling
2024-06-16 23:19:19 +08:00
Luo Tim
204fcbbe07
Support IDE service calling
2024-06-16 23:18:33 +08:00
Tim
69efdb7017
Merge pull request #64 from devchat-ai/add-usage-ide-and-language
...
Add usage ide and language
2024-06-16 00:51:55 +08:00
Luo Tim
9c8f7f6da8
Extract workflow command from message
2024-06-16 00:44:10 +08:00
Luo Tim
49c5214018
Fix platform name
2024-06-16 00:20:49 +08:00
Luo Tim
4db92bf296
Add messages and events platform/language info
2024-06-16 00:11:18 +08:00
boob.yang
1f86b7d72e
Merge pull request #63 from devchat-ai/fix-server-config
...
Fix server config
2024-06-15 21:44:03 +08:00
Luo Tim
b324281baf
Fix infinit reload config
2024-06-15 21:41:03 +08:00
Luo Tim
f23233b8b7
Fix handleMessage
2024-06-15 03:59:54 +08:00
Luo Tim
2ae3f8138f
Fix server settings
2024-06-15 01:54:09 +08:00
Tim
973a4da31d
Merge pull request #62 from devchat-ai/fix-config-syncing
...
Fix config syncing
2024-06-14 20:07:24 +08:00
Luo Tim
3fcc3630e9
Fix config syncing
2024-06-14 20:06:54 +08:00
boob.yang
f78ab29e18
Merge pull request #61 from devchat-ai/sync_server_config
...
Sync config from server
2024-06-14 13:31:38 +08:00
bobo
05223097a0
sync config from server
2024-06-14 13:21:51 +08:00
Tim
5e197677a4
Merge pull request #60 from devchat-ai/fix-webapp-address-syncing
...
Fix webapp address syncing
2024-06-12 18:27:08 +08:00
Luo Tim
ac4b721594
Fix webapp address syncing
2024-06-12 18:26:36 +08:00
Tim
924c38776e
Merge pull request #59 from devchat-ai/usages
...
Ensure only one handler for diff apply
2024-06-12 14:46:10 +08:00
Luo Tim
c9d42be9d4
Ensure only one handler for diff apply
2024-06-12 13:58:39 +08:00
Tim
2bfcc6cc30
Merge pull request #58 from devchat-ai/usages
...
Handle address not fetched on initialization
2024-06-11 18:40:07 +08:00
Luo Tim
4ac9940a42
Handle address not fetched on initialization
2024-06-11 18:39:19 +08:00
Tim
83595edb56
Merge pull request #57 from devchat-ai/usages
...
Default model prefer qwen-72b-chat
2024-06-11 12:52:12 +08:00
Luo Tim
4d5fff1d05
Default model prefer qwen-72b-chat
2024-06-11 12:51:13 +08:00
Tim
a01e04ad81
Merge pull request #55 from devchat-ai/usages
...
Usages
2024-06-11 11:28:31 +08:00
boob.yang
4023484163
Merge pull request #56 from devchat-ai/update_code_completion_config
...
feat: Update ConfigStore to handle code completion model updates
2024-06-11 10:22:55 +08:00
bobo
9e15aaaff5
feat: Update ConfigStore.ts to handle code completion model updates
...
The changes in `ConfigStore.ts` include adding a new method `checkAndSetCompletionDefaults` to handle code completion model updates. This method ensures that if there are code models available and the complete model is not set or is not in the available code models, it will be updated to the first code model in the list. This commit message follows the established convention of starting with a verb in the imperative form and providing a clear and concise description of the changes.
2024-06-11 10:18:07 +08:00
bobo
c2cd3f867d
feat: Set default completion settings for code models
...
The code changes in `ConfigStore.ts` include adding a new method `checkAndSetCompletionDefaults` that sets default completion settings for code models. This method is called when updating the configuration. The purpose of these changes is to ensure that if there are code models available and the API base is custom, and the complete model is not set, the default completion settings will be applied. This commit message follows the established convention of starting with a verb in the imperative form and providing a clear and concise description of the changes.
2024-06-11 09:59:22 +08:00
Luo Tim
43e5ceade3
webapp api address management
2024-06-08 03:19:05 +08:00
Luo Tim
b3a18fe429
Create message with model info
2024-06-07 17:07:15 +08:00
Luo Tim
85c9860719
Refactor code diff apply message flow
2024-06-07 16:36:00 +08:00
Luo Tim
2c01f5c5ba
Manage webapp credentials by APIUtil and add onCodeDiffApply listener
2024-06-07 15:36:05 +08:00
Luo Tim
2395c6ad82
Handle code copy events
2024-06-07 01:56:08 +08:00
Luo Tim
6df56742b4
Handle code buttons events
2024-06-07 01:55:49 +08:00
Luo Tim
05bf0a7f3d
Trigger message event on generating
2024-06-07 01:55:09 +08:00
Luo Tim
e23f343d0f
Add config methods to choose API addresses
2024-06-07 01:53:52 +08:00
Luo Tim
68e210d0d5
Add APIUtils
2024-06-07 01:52:29 +08:00
boob.yang
808bf945e2
Merge pull request #54 from devchat-ai/config_completion_context_limit
...
chore: Add completion context length configuration
2024-06-06 17:47:37 +08:00
bobo
1b76aa68fb
chore: Add completion context length configuration
...
- Added translation for "Completion Context Length" and "The maximum number of tokens to use as context for the model" in zh.json
- Integrated TextInput component for user input of completion context limit in Config.tsx
2024-06-06 17:45:00 +08:00
boob.yang
750874981a
Merge pull request #53 from devchat-ai/update_price_too_long
...
Update model pricing display
2024-06-05 15:43:35 +08:00
bobo
ebdba68d9a
fix: Update model pricing display
...
- Updated the title of Menu.Item to include the input and output prices of the model
- Fixed the formatting of the prices to display up to 3 decimal places
2024-06-05 15:42:38 +08:00