File tree Expand file tree Collapse file tree 7 files changed +14
-0
lines changed Expand file tree Collapse file tree 7 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 2727# Create and display empty chat
2828chat = ui .Chat (id = "chat" )
2929chat .ui ()
30+
31+ # Store chat state in the url when an "assistant" response occurs
3032chat .enable_bookmarking (chat_client , store = "url" )
3133
3234
Original file line number Diff line number Diff line change 3232 messages = ["Hello! How can I help you today?" ],
3333)
3434chat .ui ()
35+
36+ # Store chat state in the url when an "assistant" response occurs
3537chat .enable_bookmarking (chat_client , store = "url" )
3638
3739
Original file line number Diff line number Diff line change 3232 messages = ["Hello! How can I help you today?" ],
3333)
3434chat .ui ()
35+
36+ # Store chat state in the url when an "assistant" response occurs
3537chat .enable_bookmarking (chat_client , store = "url" )
3638
3739
Original file line number Diff line number Diff line change 2828# Create and display empty chat
2929chat = ui .Chat (id = "chat" )
3030chat .ui ()
31+
32+ # Store chat state in the url when an "assistant" response occurs
3133chat .enable_bookmarking (chat_client , store = "url" )
3234
3335
Original file line number Diff line number Diff line change 3333 messages = ["Hello! How can I help you today?" ],
3434)
3535chat .ui ()
36+
37+ # Store chat state in the url when an "assistant" response occurs
3638chat .enable_bookmarking (chat_client , store = "url" )
3739
3840
Original file line number Diff line number Diff line change 2424 messages = ["Hello! How can I help you today?" ],
2525)
2626chat .ui ()
27+
28+ # Store chat state in the url when an "assistant" response occurs
2729chat .enable_bookmarking (chat_client , store = "url" )
2830
2931
Original file line number Diff line number Diff line change 3232 messages = ["Hello! How can I help you today?" ],
3333)
3434chat .ui ()
35+
36+ # Store chat state in the url when an "assistant" response occurs
3537chat .enable_bookmarking (chat_client , store = "url" )
3638
3739
You can’t perform that action at this time.
0 commit comments