Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,12 @@

from __future__ import annotations

from typing import Dict, Union
from typing_extensions import Literal, Required, TypeAlias, TypedDict
from typing_extensions import Literal, Required, TypedDict

__all__ = ["DynamicAgentConfigParam"]


class DynamicAgentConfigParamTyped(TypedDict, total=False):
class DynamicAgentConfigParam(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]

@acoroleu-tempus acoroleu-tempus Mar 13, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wanlin31 the extra_items breaks in python 3.11.

The project claims to support Python 3.10, 3.11, 3.12, 3.13, and 3.14 — but the extra_items syntax in this commit breaks anything below 3.13.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about the inconvenience, working on investigate it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @acoroleu-tempus, I think you ran into an error because our minimum required typing-extensions version is too low, we're going to bump it. In the meantime if you update it to 4.14 or later then you should be good!

"""Configuration for dynamic agents."""

type: Required[Literal["dynamic"]]


DynamicAgentConfigParam: TypeAlias = Union[DynamicAgentConfigParamTyped, Dict[str, object]]