Skip to content

Conversation

@feifei325
Copy link
Contributor

@feifei325 feifei325 commented Mar 31, 2025

Context

  • Added modelId to the task export process.
  • The same task may switch between different models. When the task is executed abnormally, export the model id to facilitate troubleshooting.

Implementation

Screenshots

before after
image image

How to Test

Get in Touch


Important

Add modelId support to task export process, updating Cline, ClineProvider, and ApiOptions to handle modelId synchronization.

  • Behavior:
    • Add modelId to task export process in Cline and ClineProvider.
    • Update Cline to include <model> tag in task details.
    • Synchronize apiModelId with selectedModelId in ApiOptions.
  • Components:
    • Update ApiOptions to set apiModelId when selectedModelId changes.
  • Misc:
    • Add apiModelId to state in ClineProvider.

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

@changeset-bot
Copy link

changeset-bot bot commented Mar 31, 2025

⚠️ No Changeset found

Latest commit: 8aaec7c

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

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. enhancement New feature or request labels Mar 31, 2025
@hannesrudolph hannesrudolph moved this from New to PR [Pre Approval Review] in Roo Code Roadmap Apr 1, 2025
monotykamary pushed a commit to monotykamary/Roo-Code that referenced this pull request Apr 4, 2025
* Set up branch

* Feat/add sambanova provider (RooCodeInc#2142)

* feat(api): Add SambaNova provider type definitions

- Add 'sambanova' to ApiProvider type
- Add sambanovaApiKey to ApiHandlerOptions interface
- Add SambaNova model definitions

* feat(api): Implement SambaNova provider handler

- Create SambanovaHandler class
- Implement createMessage and getModel methods
- Register the provider in the API factory

* feat(ui): Add SambaNova provider UI components

- Add SambaNova to provider dropdown
- Add UI components for API key and model selection

* feat(storage): Update secret storage for SambaNova API key

- Update SecretKey type to include sambanovaApiKey
- Update getState method to include the SambaNova API key
- Update API configuration handler to store the SambaNova API key

* feat(sambanova): format fix

* feat(sambanova): adding previously untracked files

* fix: will ensure that when no model ID is explicitly selected for the Sambanova provider, it will use the default model ID that's already defined in the codebase (Meta-Llama-3.3-70B-Instruct)

* fix: changing how the dropdown is created by following existing pattern

* fix: changing how the dropdown is created by following existing pattern

* fix: added SamanovaHandler to buildApiHandler

---------

Co-authored-by: saad.khan.hd <[email protected]>
Co-authored-by: Dennis Bartlett <[email protected]>

* support deepseek and qwen models

* remove unused imports

* Add missing API provider implementation

---------

Co-authored-by: saad-noodleseed <[email protected]>
Co-authored-by: saad.khan.hd <[email protected]>
Co-authored-by: Dennis Bartlett <[email protected]>
Co-authored-by: Saoud Rizwan <[email protected]>
@mrubens
Copy link
Collaborator

mrubens commented Apr 14, 2025

@cte does this one look ok to you?

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 14, 2025
@mrubens mrubens merged commit 4fe0b3c into RooCodeInc:main Apr 14, 2025
19 checks passed
@github-project-automation github-project-automation bot moved this from PR [Pre Approval Review] to Done in Roo Code Roadmap Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants