Skip to content

Commit

Permalink
Merge branch 'main' into allow-images-in-user-message
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmpcollins authored Jan 1, 2025
2 parents 31a47f6 + 755b553 commit e07f364
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
- name: Set up uv
uses: astral-sh/setup-uv@v4
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: uv sync
- name: Build documentation
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
- name: Set up uv
uses: astral-sh/setup-uv@v4
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: uv sync
- name: Build package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
- name: Set up uv
uses: astral-sh/setup-uv@v4
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: uv sync
- run: uv run ruff check --output-format=github .
Expand Down
4 changes: 2 additions & 2 deletions src/magentic/chat.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import inspect
from collections.abc import Callable, Iterable
from collections.abc import Callable, Iterable, Sequence
from typing import Any, ParamSpec, TypeVar

from magentic.backend import get_chat_model
Expand Down Expand Up @@ -37,7 +37,7 @@ class Chat:

def __init__(
self,
messages: list[Message[Any]] | None = None,
messages: Sequence[Message[Any]] | None = None,
functions: Iterable[Callable[..., Any]] | None = None,
output_types: Iterable[type[Any]] | None = None,
model: ChatModel | None = None,
Expand Down

0 comments on commit e07f364

Please sign in to comment.