Repository navigation
langchain-zerogpu 0.2.3
Bug-fix release. Every tool call failed against the current ZeroGPU API
because of a response-schema mismatch, and chat tools rejected a system
prompt. Both are fixed; no public API changes.
Fixed
- Tool calls no longer fail when the API response shape drifts from the
zerogpu-apiSDK's model (the server returnscreated_atwhile the pinned
SDK expectscreated).ZeroGPUClientnow recovers the output text from the
response body when the SDK raisesParsingErroron an otherwise successful
(2xx) response, so all tools work again out of the box. - The
systemargument onZeroGPUChatToolandZeroGPUChatThinkingToolno
longer triggers a400 invalid_request_error. The passage is sent as a
plain-stringinputand the system prompt is carried as the Responses API
instructionsfield, instead of a system/user message list that the
endpoint rejects.
Install
pip install -U langchain-zerogpu==0.2.3