Repository navigation
fix(kotlin)!: greeting, step-up, attach, failures and tool calls - #2809
Draft
aleksandar-apostolov wants to merge 9 commits into
Draft
aleksandar-apostolov wants to merge 9 commits into
aleksandar-apostolov wants to merge 9 commits into
Conversation
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 42460603 | Triggered | Generic High Entropy Secret | bc26a28 | sdks/kotlin/core/src/test/kotlin/io/getstream/agents/android/core/WireTest.kt | View secret |
| 42460603 | Triggered | Generic High Entropy Secret | bc26a28 | sdks/kotlin/core/src/test/kotlin/io/getstream/agents/android/core/WireTest.kt | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
An error frame with no sentence for a person gave AgentsException.Reported an empty message, so a banner showing it was blank. It now says what the frame does name: "the agent reported a failure in llm (rate_limited)", or just the first part when it names neither.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Refs AND-2082
Ports Swift #2795, #2796, #2797, #2798 and #2800 to Kotlin, plus the snooze example the router now refuses (AI-3921). Draft until the Swift PRs land: #2798 and #2800 change shapes JS still keeps (a
failurestring plusfailureContext, and a tool-call map beside the steps), so the SDKs should agree first. One commit per Swift PR, so any of them can be dropped.Changes
Conversationfoldssaidinto a finished agent turn. Aninterruptedbefore anything of it was heard removes it; a line cut off after it was heard stays.ConnectorScopeRequired.authorizationUrl(launchUrl#handoff_token=…), and the KDoc says how to open it instead of "an app cannot finish the step-up yet".attachonSessions(Swift: every call by session id is on Sessions #2797), breaking:agents.sessions.attach(id, tools, start);StreamAgents.attachis gone. Juno updated.Conversation.failure(String?) andVoiceSession.failure(Throwable?) areAgentsException?. NewAgentsException.Reported(code, context, message)keeps the router'scode; Stream Video and device errors areTransport.TurnStep.ToolCallcarriesAgentEvent.ToolCallStateascall, folded fromtool_call.*.AgentSession.toolCalls,toolCall(id)andtoolCallsForTurnare gone. The incognitoai_tool_callstep carriesdisplay_title,summarywhile running or declined, andcancelled. A router from before 2026-11-18 shows no tool steps.ScheduledTasksKDoc and the README count the snooze from the pending run, since a device can no longer move a run earlier.Validation
./gradlew :core:testDebugUnitTest :core:lintDebug: 344 tests pass (10 live-router tests skipped); lint reports only dependency-version warnings. Juno::app:testDebugUnitTest :app:lintDebugpasses, 27 tests. Juno and the demo app compile with:app:compileDebugKotlin.New tests: the greeting shows as a turn and an unheard one is removed on
interrupted;authorizationUrlcarries the handoff token;Sessions.attachattaches; anerrorframe keeps itscodeandcontext; tool steps fold fromtool_call.*frames and an incognito step writesdisplay_title.