Skip to content

[MNNChat:Bugfix] Reuse loaded runtime session for API start in 0.8.2.2 release#4319

Merged
wangzhaode merged 1 commit into
alibaba:masterfrom
Juude:codex/mnnchat-api-runtime-reuse-0.8.2.2
Mar 30, 2026
Merged

[MNNChat:Bugfix] Reuse loaded runtime session for API start in 0.8.2.2 release#4319
wangzhaode merged 1 commit into
alibaba:masterfrom
Juude:codex/mnnchat-api-runtime-reuse-0.8.2.2

Conversation

@Juude

@Juude Juude commented Mar 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • fold PR [MNNChat:Release] Android 0.8.2.2 release #4315's Android 0.8.2.2 release prep into this branch
  • reuse the already loaded runtime session when starting API service for the same model so API start no longer forces a release/reload cycle
  • sync the EN/CN 0.8.2.2 release notes with the API runtime reuse fix

Verification

  • ./gradlew :app:testStandardDebugUnitTest --tests com.alibaba.mnnllm.api.openai.service.ApiRuntimeSessionStartPolicyTest
  • GRADLE_OPTS='-Dorg.gradle.workers.max=1' ENABLE_FIREBASE=true RELEASE_HIGHLIGHTS=... ./scripts/release.sh

Notes

@Juude
Juude marked this pull request as ready for review March 25, 2026 16:49
@Juude
Juude marked this pull request as draft March 26, 2026 02:22
@Juude
Juude force-pushed the codex/mnnchat-api-runtime-reuse-0.8.2.2 branch from b5b60d6 to 4036bb8 Compare March 26, 2026 05:19
@Juude
Juude marked this pull request as ready for review March 26, 2026 05:48
@wangzhaode wangzhaode self-assigned this Mar 30, 2026
@wangzhaode
wangzhaode merged commit ccd2dbf into alibaba:master Mar 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants