The wrapped Anthropic client only supports logging the non-beta path for the Anthropic SDK.
InstrumentedAnthropicClient.invoke() only intercepts "messages()" - beta() falls through to the raw delegate
if (methodName.equals("messages") && parameterTypes.length == 0) {
return new InstrumentedMessageService(delegate.messages(), ...);
}
return super.invoke(proxy, method, args); // beta() goes here - no instrumentation
An example Anthropic SDK request:
anthropicClient.beta().messages().createStreaming(params);
It would be helpful to support the beta path as wel
The wrapped Anthropic client only supports logging the non-beta path for the Anthropic SDK.
InstrumentedAnthropicClient.invoke() only intercepts "messages()" - beta() falls through to the raw delegate
An example Anthropic SDK request:
It would be helpful to support the beta path as wel