mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-29 19:34:19 +00:00
feat: drop python 3.10 support
dropped python3.10, updated pyproject and dependencies, and also removed some blocks of code with special handling for enum.StrEnum Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
parent
7d812e3bf0
commit
12d860744d
32 changed files with 63 additions and 104 deletions
|
@ -7,7 +7,7 @@
|
|||
import logging
|
||||
import uuid
|
||||
from collections.abc import AsyncGenerator
|
||||
from datetime import datetime, timezone
|
||||
from datetime import UTC, datetime
|
||||
|
||||
from llama_stack.apis.agents import (
|
||||
Agent,
|
||||
|
@ -92,7 +92,7 @@ class MetaReferenceAgentsImpl(Agents):
|
|||
agent_config: AgentConfig,
|
||||
) -> AgentCreateResponse:
|
||||
agent_id = str(uuid.uuid4())
|
||||
created_at = datetime.now(timezone.utc)
|
||||
created_at = datetime.now(UTC)
|
||||
|
||||
agent_info = AgentInfo(
|
||||
**agent_config.model_dump(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue