TsgcHTTP_API_AnthropicProperties › Version

Version Property

Read-only string containing the current version of the sgc Anthropic API client component

Syntax

property Version: String read GetVersion;

Default Value

Remarks

Version returns the build version of the TsgcHTTP_API_Anthropic component. It does not refer to the Anthropic REST API version (that is controlled via the anthropic-version header in AnthropicOptions). Use this value when reporting issues to eSeGeCe or when logging the client stack used to call https://api.anthropic.com/v1.

Example

oAPI := TsgcHTTP_API_Anthropic.Create(nil);
ShowMessage('sgc Anthropic client version: ' + oAPI.Version);

Back to Properties