Skip to content

fix(kotlin)!: greeting, step-up, attach, failures and tool calls - #2809

Draft
aleksandar-apostolov wants to merge 9 commits into
mainfrom
fix/kotlin-swift-drafts
Draft

aleksandar-apostolov wants to merge 9 commits into
mainfrom
fix/kotlin-swift-drafts

Conversation

@aleksandar-apostolov

Copy link
Copy Markdown
Contributor

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 failure string plus failureContext, 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

Validation

./gradlew :core:testDebugUnitTest :core:lintDebug: 344 tests pass (10 live-router tests skipped); lint reports only dependency-version warnings. Juno: :app:testDebugUnitTest :app:lintDebug passes, 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; authorizationUrl carries the handoff token; Sessions.attach attaches; an error frame keeps its code and context; tool steps fold from tool_call.* frames and an incognito step writes display_title.

@gitguardian

gitguardian Bot commented Dec 1, 2026

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
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
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. 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


🦉 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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant