Skip to content

Commit 6a44617

Browse files
authored
Merge branch 'main' into chat-append-stream-return-task
2 parents 12e9728 + 4695a55 commit 6a44617

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

shiny/ui/_chat.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ async def _raise_exception(
344344
def messages(
345345
self,
346346
*,
347-
format: Literal["anthropic"] = "anthropic",
347+
format: Literal["anthropic"],
348348
token_limits: tuple[int, int] | None = None,
349349
transform_user: Literal["all", "last", "none"] = "all",
350350
transform_assistant: bool = False,
@@ -354,7 +354,7 @@ def messages(
354354
def messages(
355355
self,
356356
*,
357-
format: Literal["google"] = "google",
357+
format: Literal["google"],
358358
token_limits: tuple[int, int] | None = None,
359359
transform_user: Literal["all", "last", "none"] = "all",
360360
transform_assistant: bool = False,
@@ -364,7 +364,7 @@ def messages(
364364
def messages(
365365
self,
366366
*,
367-
format: Literal["langchain"] = "langchain",
367+
format: Literal["langchain"],
368368
token_limits: tuple[int, int] | None = None,
369369
transform_user: Literal["all", "last", "none"] = "all",
370370
transform_assistant: bool = False,
@@ -374,7 +374,7 @@ def messages(
374374
def messages(
375375
self,
376376
*,
377-
format: Literal["openai"] = "openai",
377+
format: Literal["openai"],
378378
token_limits: tuple[int, int] | None = None,
379379
transform_user: Literal["all", "last", "none"] = "all",
380380
transform_assistant: bool = False,
@@ -384,7 +384,7 @@ def messages(
384384
def messages(
385385
self,
386386
*,
387-
format: Literal["ollama"] = "ollama",
387+
format: Literal["ollama"],
388388
token_limits: tuple[int, int] | None = None,
389389
transform_user: Literal["all", "last", "none"] = "all",
390390
transform_assistant: bool = False,

0 commit comments

Comments
 (0)