Added
- AI Agent (all languages):
AgentContext.public_agents(GET /v1/ai/agents, the Explore catalog); optionalparent_message_idforconversation/conversation_streamed; and fuller response modeling —ConversationResponse.further_questions, the completeReferencepayload,ChatStartedPayload(chat_id/error/error_message), andInterrupt.interactions/QuestionOption.label(withnulllists tolerated).
Changed
- All languages: every
HttpClientnow shares a single process-widereqwest::Client(one connection pool / DNS cache / TLS state instead of one per context).
Fixed
- All languages: the
TradeContext/QuoteContextreconnect loop now stops when the context is dropped — no more leaked reconnect tasks, HTTP pools, or WebSocket state. - Java SDK: JNI memory safety — invalid arguments now throw
IllegalArgumentExceptioninstead of aborting the JVM; callback threads no longer abort on failure; and native-handle objects (Config/HttpClient/OAuth/ every*Context) are safe under concurrent use and close (no more double-free / use-after-free /SIGSEGV).
Full changelog: https://github.com/longbridge/openapi/blob/v4.5.0/CHANGELOG.md