Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat support model selector #110

Merged
merged 2 commits into from
Nov 4, 2024
Merged

Feat support model selector #110

merged 2 commits into from
Nov 4, 2024

Conversation

crazygo
Copy link
Contributor

@crazygo crazygo commented Nov 4, 2024

This pull request includes various changes across multiple files, focusing on updating configurations, improving UI components, and refining functionality. The most important changes include updating the model configuration structure, enhancing the UI components for better user experience, and refining the chat model update logic.

Model Configuration Updates:

UI Component Enhancements:

  • src/components/ask-panel.tsx: Updated the text from "Ask That Man" to "AskMan" and improved the key binding handling.
  • src/components/ask-quotedropdown.tsx, src/components/ask-tooldropdown.tsx, and src/components/ask/ModelDropDown.tsx: Improved dropdown handling and appearance, including handling the Backspace key to close the dropdown. [1] [2] [3] [4] [5] [6] [7] [8]

Chat Model Update Logic:

  • src/chat/chat.ts: Added type imports and updated the updateModelByName method to handle model configurations more robustly. [1] [2] [3]

Minor Text and Command Updates:

  • README.md: Updated the right-click menu text from "Ask That Man" to "AskMan".
  • src/pages/background/index.ts, src/pages/popup/Popup.tsx: Updated the context menu and popup text from "Ask That Man" to "AskMan". [1] [2]

Configuration and Style Adjustments:

  • twind.config.ts: Added a new maxWidth configuration for better styling control.

@crazygo crazygo merged commit 32c1bcf into main Nov 4, 2024
4 checks passed
@crazygo crazygo deleted the feat-support-model-selector branch November 4, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant