Skip to content

Conversation

@samhvw8
Copy link
Contributor

@samhvw8 samhvw8 commented Dec 24, 2024

Description

List model for open ai compatible

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist:

  • My code follows the patterns of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • [] I have made corresponding changes to the documentation

Additional context

Related Issues

Reviewers


Important

Adds functionality to list and select OpenAI-compatible models via a new OpenAiModelPicker component and updates state management and messaging for OpenAI models.

  • Behavior:
    • Adds getOpenAiModels() in ClineProvider.ts to fetch models from OpenAI-compatible API.
    • Introduces OpenAiModelPicker component in OpenAiModelPicker.tsx for model selection.
    • Integrates OpenAiModelPicker into ApiOptions.tsx for UI interaction.
  • State Management:
    • Updates ExtensionStateContext.tsx to manage openAiModels state.
    • Modifies ExtensionMessage.ts to include openAiModels type.
  • Messaging:
    • Adds refreshOpenAiModels message type in WebviewMessage.ts and ClineProvider.ts.

This description was created by Ellipsis for 198e196. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Dec 24, 2024

⚠️ No Changeset found

Latest commit: fbb99f3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mrubens
Copy link
Collaborator

mrubens commented Dec 24, 2024

On my phone, but do you mind including a screenshot or screencast of these changes and I’ll look in a bit? Thank you for the contribution!

@samhvw8
Copy link
Contributor Author

samhvw8 commented Dec 24, 2024

Hi @mrubens

here my screen shot about it

image image

@mrubens
Copy link
Collaborator

mrubens commented Dec 28, 2024

Looks good to me, thanks @samhvw8 !

@mrubens mrubens merged commit 1581ed1 into RooCodeInc:main Dec 28, 2024
4 checks passed
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.

2 participants