-
Notifications
You must be signed in to change notification settings - Fork 2.3k
chore: remove needless clone() in goose/providers #2528
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
Conversation
cgwalters
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this project is pretty buried in unreviewed PRs. I just added some more 😄 so I'm trying to pay things down and review other people's PRs. Feel free to review mine too...or someone else's.
Anyways I have to say I gave this PR a review and it looks good to me! Definitely one of those cases where "if it compiles it works".
|
@seddonm1 thanks, we're getting caught up can you resolve conflicts and we'll take another look! |
|
@seddonm1 yeah thanks - I think it makes sense - do you mind resolving conflicts/updating, and if you find anywhere else lets do that as well |
michaelneale
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it you can update/resolve conflicts and once this builds, we can merge it in.
5a5548f to
842e5ca
Compare
|
Rebased. Should be good to go. |
|
ugh and then we didn't. If you can give it one more try, I'll land it. Sorry! |
7278061 to
3c59f24
Compare
|
@DOsinga rebased and removed a few more needless clone() |
|
excellent - can you do the DCO thing though? https://github.com/block/goose/pull/2528/checks?check_run_id=46131682554 Thanks so much! |
3c59f24 to
5e6928b
Compare
|
No worries @DOsinga . Squashed, signed and good to go. |
|
Sorry lint failed. Will fix tomorrow. |
5e6928b to
3f6f994
Compare
Signed-off-by: Mike Seddon <[email protected]>
3f6f994 to
759c131
Compare
|
@DOsinga rebased (to include new litellm provider) and everything should work this time 😅 |
* 'main' of github.com:block/goose: (23 commits) fix: add fallback id to messages if none provided (#3584) feat: migrate ErrorData from internal mcp crates to rmcp version (#3586) fix: adjust subrecipe description to allow running tests (#3585) Scenario tests (#3430) feat: migrate JsonRpcMessage/Request/Response/Error/Notification from internal mcp crates to rmcp versions (#3564) Restore recipe parameters functionality (#3530) feat: Enhanced loading states with thinking icons and flying bird animation (#3478) Agent loop defensive (#3554) chore: remove needless clone() in goose/providers (#2528) Add recipe install warning (#3537) Replace mcp_core::resource::* with rmcp types (#3563) Add YouTube video embed to using-goosehints.md (#3560) fix: ensure retry-config and success-criteria are populated in openapi spec (#3575) fix: use sequential when sub recipe task is 1. (#3573) fix: track message id to keep like with like (#3572) Replace mcp_core::prompt with rmcp::model types (#3561) feat (ui): close recipe modals with esc key (#3568) feat: recipes can retry with success criteria (#3474) Env var to set Ollama request timeout (#3516) Updating docs to match new UI (#3552) ...
* main: docs: desktop recipe format (#3594) Fix model display name not being updated immediately after leaving settings (#3587) Added option to summarize the chat when an error is triggered (#3598) Remove mcp_macros and unused types (#3581) fix: add fallback id to messages if none provided (#3584) feat: migrate ErrorData from internal mcp crates to rmcp version (#3586) fix: adjust subrecipe description to allow running tests (#3585) Scenario tests (#3430) feat: migrate JsonRpcMessage/Request/Response/Error/Notification from internal mcp crates to rmcp versions (#3564) Restore recipe parameters functionality (#3530) feat: Enhanced loading states with thinking icons and flying bird animation (#3478) Agent loop defensive (#3554) chore: remove needless clone() in goose/providers (#2528) Add recipe install warning (#3537) Replace mcp_core::resource::* with rmcp types (#3563) Add YouTube video embed to using-goosehints.md (#3560) fix: ensure retry-config and success-criteria are populated in openapi spec (#3575)
Signed-off-by: Mike Seddon <[email protected]> Signed-off-by: Adam Tarantino <[email protected]>
I have been reading through the code of goose and found that there are a lot of needless
.clone()calls that probably the compiler removes but makes the code harder to read as it does have a semantic difference.I am not sure if you would like this sort of PR but I can do more of these as I go through the code.