Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Nov 26, 2024
2 parents 8d881d0 + 382c782 commit cc35b1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AiServer.ServiceInterface/OpenAiChatServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public async Task<object> Get(GetOpenAiChatStatus request)

public object Any(GetActiveProviders request) => new GetActiveProvidersResponse
{
Results = appData.AiProviders
Results = appData.AiProviders.ToList()
};

public async Task<object> Any(ChatAiProvider request)
Expand Down
2 changes: 1 addition & 1 deletion AiServer.ServiceModel/OpenAiChatServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public class GetActiveProviders : IGet, IReturn<GetActiveProvidersResponse> {}

public class GetActiveProvidersResponse
{
public AiProvider[] Results { get; set; }
public List<AiProvider> Results { get; set; } = [];
public ResponseStatus? ResponseStatus { get; set; }
}

Expand Down

0 comments on commit cc35b1b

Please sign in to comment.