Skip to content

Commit 695a80a

Browse files
committed
Address review comments
1 parent 2683aab commit 695a80a

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

models/spring-ai-anthropic/src/main/java/org/springframework/ai/anthropic/AnthropicChatModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public AnthropicChatModel(AnthropicApi anthropicApi, AnthropicChatOptions defaul
155155
* @param defaultOptions the default options used for the chat completion requests.
156156
* @param retryTemplate the retry template used to retry the Anthropic API calls.
157157
* @param functionCallbackResolver the function callback resolver used to resolve the
158-
* function by bean name.s
158+
* function by bean name
159159
*/
160160
public AnthropicChatModel(AnthropicApi anthropicApi, AnthropicChatOptions defaultOptions,
161161
RetryTemplate retryTemplate, FunctionCallbackResolver functionCallbackResolver) {

models/spring-ai-moonshot/src/main/java/org/springframework/ai/moonshot/MoonshotChatModel.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ public MoonshotChatModel(MoonshotApi moonshotApi, MoonshotChatOptions options) {
129129
* Moonshot Chat API.
130130
* @param options The MoonshotChatOptions to configure the chat client.
131131
* @param functionCallbackResolver The function callback resolver to
132+
* resolve the function callbacks from the application context.
132133
* @param retryTemplate The retry template.
133134
*/
134135
public MoonshotChatModel(MoonshotApi moonshotApi, MoonshotChatOptions options,

models/spring-ai-openai/src/main/java/org/springframework/ai/openai/OpenAiChatModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public OpenAiChatModel(OpenAiApi openAiApi, OpenAiChatOptions options) {
155155
* @param openAiApi The OpenAiApi instance to be used for interacting with the OpenAI
156156
* Chat API.
157157
* @param options The OpenAiChatOptions to configure the chat model.
158-
* @param functionCallbackResolver The function callback context.
158+
* @param functionCallbackResolver The function callback resolver.
159159
* @param retryTemplate The retry template.
160160
*/
161161
public OpenAiChatModel(OpenAiApi openAiApi, OpenAiChatOptions options,

spring-ai-core/src/main/java/org/springframework/ai/chat/model/AbstractToolCallSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ protected List<FunctionCallback> resolveFunctionCallbacks(Set<String> functionNa
191191
}
192192
else {
193193
throw new IllegalStateException(
194-
"No function callback [" + functionName + "] fund in tht FunctionCallbackRegister");
194+
"No function callback [" + functionName + "] found in tht FunctionCallbackRegister");
195195
}
196196
}
197197
else {

0 commit comments

Comments
 (0)