- Adjust the styling of the rightSection in the InputMessage component
- Remove duplicate Indicator and ActionIcon for the context menus
- Add marginLeft to the send button for proper spacing
- Update InputMessage component to include modelMenus in the input object
- Add fetchModelMenus action to InputStore to fetch model menus
- Update ChatStore to set the default chatModel to 'GPT-3.5'
- Remove commented out borderBottom and boxShadow styles.
- Update borderBottom style to use a solid line with color #ced4da.
- Adjust padding of the Flex component for better alignment.
- Import Box component from "@mantine/core".
- Remove unused imports and dependencies.
- Update the returned JSX structure and layout.
- Adjust styling and spacing of components.
- Remove unused code and dependencies.
- Import necessary components from @mantine/core and @tabler/icons-react.
- Remove unused imports and dependencies.
- Update the returned JSX structure and layout.
- Adjust styling and spacing of components.
- Remove unused code and dependencies.
- Import CurrentMessage component from "@/views/components/CurrentMessage".
- Remove unused chatPanelWidth prop.
- Wrap the returned JSX in a Stack component for spacing and margin.
- Add CurrentMessage component at the end of the Stack.
- Adjust styling and layout of components.
- Remove unused code and dependencies.
- Import Chip, Group, Button, UnstyledButton, and Menu components from Mantine/core.
- Import IconDatabase, IconTextPlus, and IconRobot from @tabler/icons-react.
- Remove handlePlusClick function and its usage.
- Remove contextMenusNode and its usage.
- Remove unused onClose and onOpen props from Popover component.
- Update placeholder text in Textarea component.
- Adjust styling and layout of components.
- Add changeModel function to handle chat model selection.
- Update return statement to use Stack and Group components for layout.
- Update ActionIcon and Button components with new props and styling.
- Remove unused code and dependencies.
- Added a new function `configUpdateTo_0912` to update the configuration for the 'devchat' extension.
- The function retrieves the 'DevChat', 'Api_Key_OpenAI', and 'API_ENDPOINT' configurations and creates a new configuration object.
- If the 'Model.gpt-4' configuration does not exist and the new configuration object is not empty, it updates the 'Model.gpt-3-5', 'Model.gpt-3-5-16k', and 'Model.gpt-4' configurations.
- The function is called during the activation of the extension.
- Introduced a new variable 'llmModel' to fetch the OpenAI model configuration from 'DevChat'.
- If 'llmModel' is present, it is added to the arguments list.
- Modified the handleSendClick function in InputMessage/index.tsx to handle '/help' command.
- If the user types '/help', a help message is displayed and the input field is cleared.
- If the input is not '/help', the existing functionality of sending and displaying the user's message is executed.
- Updated the conda installation directory from .devchat to .chat in conda_install.ts.
- Updated the mamba installation directory from .devchat to .chat in python_install.ts.
- Updated the installation directory in the readme.md file.
- Removed redundant commands related to ask-code-summary from package.json.
- Created a new file contextSummary.ts to handle the ask-code-summary context.
- Registered the ask-code-summary context in loadContexts.ts.
- Refactored the ask-code-summary related functions in commands.ts for better code organization and readability.
- Updated the askcode_summary_index.py script to handle target directory for indexing.
- In runVSCodeCommand.ts, added a condition to convert the first argument to a Uri if the command is 'vscode.open'.
- In sendMessage.ts, added logic to prepend the previous command to the message text if the message starts with '/'.
- In commonUtil.ts, modified the spawnAsync function to replace arguments starting with '$' with their corresponding environment variable values.
- In handler.py, added code to create parent directories for a new file if they don't exist.
- Modified the getSetting function in updateConfig.ts to include key1 and key2 in the outgoing message.
- Adjusted the registration of the incoming message for getUserAccessKey in userAccessKey.ts to not expect key1 and key2.
- Changed the default AI model from 'gpt-4' to 'gpt-3.5-turbo' in package.json.
- Rearranged the model selection order in ChatPanel.tsx, moving 'gpt-4' to the end.
- Imported getUserAccessKey in loadHandlers.ts and registered it as a message handler.
- Created a new file userAccessKey.ts to handle getting user access keys.
- The getUserAccessKey function retrieves the API key, determines its type (DevChat or OpenAI), and gets the endpoint.
- If no API key is found, a message is sent with empty values.
- In defRefsContext, replaced getSelectedSymbol with direct text selection.
- Added error handling for empty selection in defRefsContext.
- Updated logging to include selected text details in defRefsContext.
- In getUndefinedSymbols, modified chat content to include the code snippet.
- Moved logger.channel()?.show() to the beginning of the handler function in refDefsContext.
- This ensures that the logger display is shown before any other operations are performed.
- Replaced Chinese comments with English in getUndefinedSymbols function.
- Added new functions matchSymbolInline and getMatchedSymbolPositions to find symbol positions.
- Refactored getSymbolDefine function to use the new functions for finding symbol positions.
- Added a check to avoid pushing the same symbol definition multiple times.
- Moved logger.channel()?.show() to the beginning of registerAskCodeIndexStartCommand and registerAskCodeSummaryIndexStartCommand functions.