TsgcHTTP_API_Anthropic › 属性 › Version
只读字符串,包含 sgc Anthropic API 客户端组件的当前版本。
property Version: String read GetVersion;
—
Version 返回 TsgcHTTP_API_Anthropic 组件的构建版本。它不指代 Anthropic REST API 版本(该版本通过 AnthropicOptions 中的 anthropic-version 请求头控制)。向 eSeGeCe 报告问题或记录用于调用 https://api.anthropic.com/v1 的客户端栈时,请使用此值。
oAPI := TsgcHTTP_API_Anthropic.Create(nil);
ShowMessage('sgc Anthropic client version: ' + oAPI.Version);