Skip to content

feat: prefetch and reuse agent identity for password auth#6

Open
Gintoms wants to merge 1 commit intooceanbase:masterfrom
Gintoms:feat/prefetch-agent-identity
Open

feat: prefetch and reuse agent identity for password auth#6
Gintoms wants to merge 1 commit intooceanbase:masterfrom
Gintoms:feat/prefetch-agent-identity

Conversation

@Gintoms
Copy link
Copy Markdown

@Gintoms Gintoms commented Apr 13, 2026

Summary

优化 SDK 认证流程,减少一次重复的 /api/v1/info 请求。

Solution Description

第一次 /api/v1/info 返回中已经包含 identity 信息,因此在认证流程中复用该结果,避免在 checkIdentity() 中再次请求 /api/v1/info

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 13, 2026

CLA assistant check
All committers have signed the CLA.

@Gintoms Gintoms force-pushed the feat/prefetch-agent-identity branch from e850e7d to 225458b Compare April 13, 2026 09:35
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