Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sdk/ai/azure-ai-agents/checkstyle-suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@
<suppress files="com.azure.ai.agents.AgentsClient.java" checks="io.clientcore.linting.extensions.checkstyle.checks.ExternalDependencyExposedCheck" />
<suppress files="com.azure.ai.agents.models.FileSearchTool.java" checks="io.clientcore.linting.extensions.checkstyle.checks.ExternalDependencyExposedCheck" />
<suppress files="com.azure.ai.agents.models.PromptAgentDefinition.java" checks="io.clientcore.linting.extensions.checkstyle.checks.ExternalDependencyExposedCheck" />
<suppress files="com.azure.ai.agents.ResponsesClient.java" checks="io.clientcore.linting.extensions.checkstyle.checks.ServiceClientCheck" />
<suppress files="com.azure.ai.agents.ResponsesAsyncClient.java" checks="io.clientcore.linting.extensions.checkstyle.checks.ServiceClientCheck" />
</suppressions>
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public Mono<Response> createAzureResponse(AzureCreateResponseOptions createRespo
* @param params The parameters to create the response.
* @return A {@link Flux} stream of {@link ResponseStreamEvent} items.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public Flux<ResponseStreamEvent> createStreamingAzureResponse(AzureCreateResponseOptions createResponse,
ResponseCreateParams.Builder params) {
Objects.requireNonNull(createResponse, "createResponse cannot be null");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public Response createAzureResponse(AzureCreateResponseOptions createResponse,
* @param params The parameters to create the response.
* @return An IterableStream of ResponseStreamEvent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.COLLECTION)
public IterableStream<ResponseStreamEvent> createStreamingAzureResponse(AzureCreateResponseOptions createResponse,
ResponseCreateParams.Builder params) {
Objects.requireNonNull(createResponse, "createResponse cannot be null");
Expand Down