Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Bump Python version to 1.16.0 for a release. #9781

Merged
merged 6 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
dependencies = [
"aiohttp ~= 3.8",
"cloudevents ~=1.0",
"pydantic ~= 2.0",
"pydantic ~= 2.0<2.10",
"pydantic-settings ~= 2.0",
"defusedxml ~= 0.7",
# azure identity
Expand Down
2 changes: 1 addition & 1 deletion python/semantic_kernel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

from semantic_kernel.kernel import Kernel

__version__ = "1.15.0"
__version__ = "1.16.0"
__all__ = ["Kernel", "__version__"]
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ class OpenAIAssistantBase(Agent):
enable_code_interpreter: bool | None = Field(False)
enable_file_search: bool | None = Field(False)
enable_json_response: bool | None = Field(False)
code_interpreter_file_ids: list[str] | None = Field(default_factory=list, max_length=20)
file_search_file_ids: list[str] | None = Field(default_factory=list, max_length=20)
code_interpreter_file_ids: list[str] | None = Field(default_factory=list, max_length=20) # type: ignore
file_search_file_ids: list[str] | None = Field(default_factory=list, max_length=20) # type: ignore
temperature: float | None = Field(None)
top_p: float | None = Field(None)
vector_store_id: str | None = None
metadata: dict[str, Any] | None = Field(default_factory=dict, max_length=16)
metadata: dict[str, Any] | None = Field(default_factory=dict, max_length=16) # type: ignore
max_completion_tokens: int | None = Field(None)
max_prompt_tokens: int | None = Field(None)
parallel_tool_calls_enabled: bool | None = Field(True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ class StreamingAnnotationContent(KernelContent):
"""Streaming Annotation content."""

content_type: Literal[ContentTypes.STREAMING_ANNOTATION_CONTENT] = Field(
STREAMING_ANNOTATION_CONTENT_TAG, init=False
) # type: ignore
STREAMING_ANNOTATION_CONTENT_TAG, # type: ignore
init=False,
)
tag: ClassVar[str] = STREAMING_ANNOTATION_CONTENT_TAG
file_id: str | None = None
quote: str | None = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ class StreamingFileReferenceContent(KernelContent):
"""Streaming File reference content."""

content_type: Literal[ContentTypes.STREAMING_FILE_REFERENCE_CONTENT] = Field(
STREAMING_FILE_REFERENCE_CONTENT_TAG, init=False
) # type: ignore
STREAMING_FILE_REFERENCE_CONTENT_TAG, # type: ignore
init=False,
)
tag: ClassVar[str] = STREAMING_FILE_REFERENCE_CONTENT_TAG
file_id: str | None = None

Expand Down
Loading
Loading