• Introduces a new FunctionCallbackResolver interface to define the strategy for resolving FunctionCallback instances from the application context.
  • Renames FunctionCallbackContext to DefaultFunctionCallbackResolver to better reflect its implementation role. Updates all related components to use the new interface.
  • Update the affected AI model implementations
  • Replaces FunctionCallbackContext parameter with FunctionCallbackResolver in all model constructors
  • Updates builder patterns to use functionCallbackResolver() method instead of withFunctionCallbackContext()
  • Deprecates old withFunctionCallbackContext() methods in builders to guide migration
  • Updates integration tests to use DefaultFunctionCallbackResolver
  • Improves documentation to clarify the resolver's role in function callbacks
  • Moves SchemaType enum from FunctionCallbackContext to FunctionCallback (Braking change)git add .

Resolves #758

Comment From: ilayaperumalg

Fixed the javadoc, squashed, rebased and merged as 479a0959769b5ff3be9841212b9e483743b671e0

Comment From: ilayaperumalg

Also, fixed an issue with the AnthropicAutoConfiguration's AnthropicChatModel to use the interface dependent type FunctionCallbackResolver be0f9fbb676627ec6f64fb99ad9c9cf407ba8941