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);