Skip to content

Add Model Config Settings to Chat Input button #110

@RajeshTechForge

Description

@RajeshTechForge

Description

Feature Request: Integrate model configuration settings into the existing more-options button (currently it's code is commented out) in the chat input area, for a better user experience and accessibility.

Proposed Changes

Add model settings panel to the existing more options button (currently it's code is commented out) in chat input, include the following settings:

  • Under Basic Section (collapsible section):
    • Max Output Tokens (slider, 0-4000)
    • Temperature (slider, 0-1.0)
    • Context Window Size (slider)
  • Under Advanced Section (collapsible section):
    • Top P (slider, 0-1.0)
    • Top K (slider, 1-100)
    • Frequency penalty (slider, 0-1.0)

Related files:

  • src/features/chatInput\index.tsx
  • src/context/OllamaSettings.tsx

Reference Image

Image

If anyone is interested in contributing to this project through this improvement, they are welcome. If you have any questions or doubts, don't hesitate to ask me!

Metadata

Metadata

Assignees

No one assigned

    Labels

    React-UIPull requests that update React-Typescript codegood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions