Skip to content

Commit 8ba4eb0

Browse files
Simplify stream() exception message
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b09d2ff commit 8ba4eb0

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

temporal-spring-ai/src/main/java/io/temporal/springai/model/ActivityChatModel.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,7 @@ public String getModelName() {
180180
*/
181181
@Override
182182
public Flux<ChatResponse> stream(Prompt prompt) {
183-
throw new UnsupportedOperationException(
184-
"Streaming is not supported in ActivityChatModel. "
185-
+ "Temporal activities are request/response based and cannot stream partial results. "
186-
+ "Use call() instead.");
183+
throw new UnsupportedOperationException("Streaming is not supported in ActivityChatModel.");
187184
}
188185

189186
@Override

0 commit comments

Comments
 (0)