Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Sep 9, 2024
1 parent 76d74ef commit 7757b9b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions MyApp.ServiceInterface/AiServer/CreateAnswerTasksCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,11 @@ protected override async Task RunAsync(CreateAnswerTasks request, CancellationTo
Temperature = 0.7,
MaxTokens = 2048,
};
var replyTo = appConfig.BaseUrl.CombineWith("api", nameof(CreateAnswerCallback).AddQueryParams(new() {
[nameof(CreateAnswerCallback.PostId)] = question.Id,
[nameof(CreateAnswerCallback.UserId)] = modelUser.Id,
}));
var replyTo = appConfig.BaseUrl.CombineWith("api", nameof(CreateAnswerCallback)
.AddQueryParams(new() {
[nameof(CreateAnswerCallback.PostId)] = question.Id,
[nameof(CreateAnswerCallback.UserId)] = modelUser.Id,
}));

log.LogInformation("Sending CreateOpenAiChat for Question {Id} Answer for {UserName}, replyTo: {ReplyTo}",
question.Id, userName, replyTo);
Expand Down
8 changes: 4 additions & 4 deletions MyApp/MyApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
</ItemGroup>

<ItemGroup>
<Content Include="_includes\**" CopyToPublishDirectory="PreserveNewest"/>
<Content Include="_pages\**" CopyToPublishDirectory="PreserveNewest"/>
<Content Include="_posts\*.md" CopyToPublishDirectory="PreserveNewest"/>
<Content Include="_videos\**" CopyToPublishDirectory="PreserveNewest"/>
<Content Include="_includes\**" CopyToPublishDirectory="PreserveNewest" />
<Content Include="_pages\**" CopyToPublishDirectory="PreserveNewest" />
<Content Include="_posts\*.md" CopyToPublishDirectory="PreserveNewest" />
<Content Include="_videos\**" CopyToPublishDirectory="PreserveNewest" />
<Content Include="emails\**" CopyToPublishDirectory="PreserveNewest" />
</ItemGroup>

Expand Down

0 comments on commit 7757b9b

Please sign in to comment.