Skip to content

Commit b42f76b

Browse files
committed
- appsettings for chat gpt sample restored
1 parent 815eef2 commit b42f76b

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

Botticelli.AI/AIProvider/ChatGptProvider.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ await _bus.SendResponse(new SendMessageResponse(message.Uid)
105105
}
106106
else
107107
{
108+
var reason = await response.Content.ReadAsStringAsync();
109+
108110
await _bus.SendResponse(new SendMessageResponse(message.Uid)
109111
{
110112
Message = new Shared.ValueObjects.Message(message.Uid)

Botticelli/botInfo.Db

0 Bytes
Binary file not shown.

Botticelli/botInfo.Db-shm

0 Bytes
Binary file not shown.

Botticelli/botInfo.Db-wal

-76.4 KB
Binary file not shown.

TelegramAiSample/TelegramAiChatGptSample.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,10 @@
2525
<Folder Include="Data\" />
2626
</ItemGroup>
2727

28+
<ItemGroup>
29+
<Content Update="appsettings.json">
30+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
31+
</Content>
32+
</ItemGroup>
33+
2834
</Project>

0 commit comments

Comments
 (0)