Skip to content

Commit 1d062be

Browse files
authored
Merge branch 'main' into chat-append-generator
2 parents 96f87b3 + 1bc1cd2 commit 1d062be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+464
-1016
lines changed

.github/workflows/build-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
9898
- name: Upload site artifact
9999
if: github.ref == 'refs/heads/main'
100-
uses: actions/upload-pages-artifact@v1
100+
uses: actions/upload-pages-artifact@v3
101101
with:
102102
path: "deploy"
103103

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
* Added a new `.add_sass_layer_file()` method to `ui.Theme` that supports reading a Sass file with layer boundary comments, e.g. `/*-- scss:defaults --*/`. This format [is supported by Quarto](https://quarto.org/docs/output-formats/html-themes-more.html#bootstrap-bootswatch-layering) and makes it easier to store Sass rules and declarations that need to be woven into Shiny's Sass Bootstrap files. (#1790)
1313

14+
* The `ui.Chat()` component's `.on_user_submit()` decorator method now passes the user input to the decorated function. This makes it a bit more obvious how to access the user input inside the decorated function. See the new templates (mentioned below) for examples. (#1801)
15+
16+
* `shiny create` includes new and improved `ui.Chat()` template options. Most of these templates leverage the new [`{chatlas}` package](https://posit-dev.github.io/chatlas/), our opinionated approach to interfacing with various LLM. (#1806)
17+
1418
* `ui.Chat`'s `.append_message()` method now automatically streams generators and async generators. (#1800)
1519

1620
### Bug fixes

examples/airmass/location.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ def location_server(
3737
input: Inputs, output: Outputs, session: Session, *, wrap_long: bool = True
3838
):
3939
map = L.Map(center=(0, 0), zoom=1, scoll_wheel_zoom=True)
40-
with reactive.isolate():
41-
marker = L.Marker(location=(input.lat() or 0, input.long() or 0))
40+
marker = L.Marker(location=(0, 0))
4241

4342
with reactive.isolate(): # Use this to ensure we only execute one time
4443
if input.lat() is None and input.long() is None:

examples/chat/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/chat/RAG/recipes/app.py

Lines changed: 0 additions & 60 deletions
This file was deleted.

examples/chat/RAG/recipes/requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

examples/chat/RAG/recipes/utils.py

Lines changed: 0 additions & 106 deletions
This file was deleted.

examples/chat/README.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

examples/chat/playground/app.py

Lines changed: 0 additions & 82 deletions
This file was deleted.

examples/chat/playground/requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)