Skip to content

Commit 09ff45b

Browse files
committed
update
1 parent 584f629 commit 09ff45b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

MyApp/Configure.AI.Chat.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ public void Configure(IWebHostBuilder builder) => builder
2727
// "openrouter",
2828
]
2929
});
30-
30+
3131
// Persist AI Chat History, enables analytics at /admin-ui/chat
32-
services.AddSingleton<IChatStore,DbChatStore>();
32+
services.AddSingleton<IChatStore, DbChatStore>();
3333
// Or store history in monthly partitioned tables in PostgreSQL:
3434
// services.AddSingleton<IChatStore, PostgresChatStore>();
35-
35+
36+
// Add AI Chat link to /metadata
3637
services.ConfigurePlugin<MetadataFeature>(feature => {
3738
feature.AddPluginLink("/chat", "AI Chat");
3839
});

0 commit comments

Comments
 (0)