Skip to content

Commit df344b1

Browse files
committed
Update template with suggested comment
1 parent 593425f commit df344b1

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

shiny/templates/chat/llm-enterprise/aws-bedrock-anthropic/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
# Create and display empty chat
2828
chat = ui.Chat(id="chat")
2929
chat.ui()
30+
31+
# Store chat state in the url when an "assistant" response occurs
3032
chat.enable_bookmarking(chat_client, store="url")
3133

3234

shiny/templates/chat/llm-enterprise/azure-openai/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
messages=["Hello! How can I help you today?"],
3333
)
3434
chat.ui()
35+
36+
# Store chat state in the url when an "assistant" response occurs
3537
chat.enable_bookmarking(chat_client, store="url")
3638

3739

shiny/templates/chat/llms/anthropic/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
messages=["Hello! How can I help you today?"],
3333
)
3434
chat.ui()
35+
36+
# Store chat state in the url when an "assistant" response occurs
3537
chat.enable_bookmarking(chat_client, store="url")
3638

3739

shiny/templates/chat/llms/google/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
# Create and display empty chat
2929
chat = ui.Chat(id="chat")
3030
chat.ui()
31+
32+
# Store chat state in the url when an "assistant" response occurs
3133
chat.enable_bookmarking(chat_client, store="url")
3234

3335

shiny/templates/chat/llms/langchain/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
messages=["Hello! How can I help you today?"],
3434
)
3535
chat.ui()
36+
37+
# Store chat state in the url when an "assistant" response occurs
3638
chat.enable_bookmarking(chat_client, store="url")
3739

3840

shiny/templates/chat/llms/ollama/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
messages=["Hello! How can I help you today?"],
2525
)
2626
chat.ui()
27+
28+
# Store chat state in the url when an "assistant" response occurs
2729
chat.enable_bookmarking(chat_client, store="url")
2830

2931

shiny/templates/chat/llms/openai/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
messages=["Hello! How can I help you today?"],
3333
)
3434
chat.ui()
35+
36+
# Store chat state in the url when an "assistant" response occurs
3537
chat.enable_bookmarking(chat_client, store="url")
3638

3739

0 commit comments

Comments
 (0)