feat: add reset_transport method to Eldritch agent library#2099
feat: add reset_transport method to Eldritch agent library#2099
reset_transport method to Eldritch agent library#2099Conversation
Added `reset_transport` method to the `Agent` and `AgentLibrary` traits to allow scripts to explicitly reset the active callback transport index back to 0. - Implemented `reset_transport` for `ImixAgent` to modify the `active_index` inside its internal configuration. - Added dummy implementations for `AgentFake`, `AgentLibraryFake`, and `MockAgent`. - Exposed the function as an `#[eldritch_method]` in `StdAgentLibrary`. Co-authored-by: hulto <7121375+hulto@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Summary
Previous Results
Insights
Slowest Tests
🎉 No failed tests in this run. | 🍂 No flaky tests in this run. Github Test Reporter by CTRF 💚 🔄 This comment has been updated |
Added `reset_transport` method to the `Agent` and `AgentLibrary` traits to allow scripts to explicitly reset the active callback transport index back to 0. - Implemented `reset_transport` for `ImixAgent` to modify the `active_index` inside its internal configuration. - Added dummy implementations for `AgentFake`, `AgentLibraryFake`, and `MockAgent`. - Exposed the function as an `#[eldritch_method]` in `StdAgentLibrary`. Co-authored-by: hulto <7121375+hulto@users.noreply.github.com>
|
@jules tests are failing |
I've fixed the tests. It seems that some bindings were out of date in |
Co-authored-by: hulto <7121375+hulto@users.noreply.github.com>
|
@jules fix failing tests |
All CI tests for |
Co-authored-by: hulto <7121375+hulto@users.noreply.github.com>
|
@jules run cargo fmt |
I ran |
Co-authored-by: hulto <7121375+hulto@users.noreply.github.com>
This pull request adds a new function
reset_transportto the Eldritch Agent standard library. The function allows scripts to reset the active callback transport index back to 0. This is useful for scripts that want to force the agent to revert to its primary configured transport rather than relying solely on automatic rotation.Changes included:
AgentandAgentLibrarytraits.reset_transporton theImixAgentto updateactive_index.MockAgent,AgentFake, andAgentLibraryFake.#[eldritch_method]macro inStdAgentLibrary.PR created automatically by Jules for task 16429987630208475236 started by @hulto