Skip to content

Commit e944c5b

Browse files
docs: swap examples used in readme (#231)
1 parent ef6e33f commit e944c5b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/writerai/_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def assert_is_file_content(obj: object, *, key: str | None = None) -> None:
3434
if not is_file_content(obj):
3535
prefix = f"Expected entry at `{key}`" if key is not None else f"Expected file input `{obj!r}`"
3636
raise RuntimeError(
37-
f"{prefix} to be bytes, an io.IOBase instance, PathLike or a tuple but received {type(obj)} instead. See https://github.com/writer/writer-python/tree/main#file-uploads"
37+
f"{prefix} to be bytes, an io.IOBase instance, PathLike or a tuple but received {type(obj)} instead."
3838
) from None
3939

4040

src/writerai/lib/streaming/chat/_completions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ def _add_tool_done_event(
711711
name=tool_call_snapshot.function.name,
712712
arguments=tool_call_snapshot.function.arguments,
713713
parsed_arguments=parsed_arguments,
714-
tool_call_snapshot_id=tool_call_snapshot.id
714+
tool_call_snapshot_id=tool_call_snapshot.id,
715715
)
716716
)
717717
elif TYPE_CHECKING: # type: ignore[unreachable]

0 commit comments

Comments
 (0)