mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-04 10:10:36 +00:00
chore: rebase on main
Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
e79a03b697
commit
2a257dbdea
14 changed files with 27198 additions and 38612 deletions
|
|
@ -19,7 +19,7 @@ import httpx
|
|||
import yaml
|
||||
from fastapi import Response as FastAPIResponse
|
||||
|
||||
from llama_stack_api import is_unwrapped_body_param
|
||||
from llama_stack.core.utils.type_inspection import is_unwrapped_body_param
|
||||
|
||||
try:
|
||||
from llama_stack_client import (
|
||||
|
|
@ -51,7 +51,6 @@ from llama_stack.core.telemetry.tracing import CURRENT_TRACE_CONTEXT, end_trace,
|
|||
from llama_stack.core.utils.config import redact_sensitive_fields
|
||||
from llama_stack.core.utils.context import preserve_contexts_async_generator
|
||||
from llama_stack.core.utils.exec import in_notebook
|
||||
from llama_stack.core.utils.type_inspection import is_unwrapped_body_param
|
||||
from llama_stack.log import get_logger, setup_logging
|
||||
|
||||
logger = get_logger(name=__name__, category="core")
|
||||
|
|
|
|||
|
|
@ -388,27 +388,6 @@ from .shields import (
|
|||
)
|
||||
|
||||
# Import from strong_typing
|
||||
from .strong_typing.core import JsonType
|
||||
from .strong_typing.docstring import Docstring, parse_type
|
||||
from .strong_typing.inspection import (
|
||||
get_signature,
|
||||
is_generic_list,
|
||||
is_type_optional,
|
||||
is_type_union,
|
||||
is_unwrapped_body_param,
|
||||
unwrap_generic_list,
|
||||
unwrap_optional_type,
|
||||
unwrap_union_types,
|
||||
)
|
||||
from .strong_typing.name import python_type_to_name
|
||||
from .strong_typing.schema import (
|
||||
JsonSchemaGenerator,
|
||||
Schema,
|
||||
SchemaOptions,
|
||||
StrictJsonType,
|
||||
get_schema_identifier,
|
||||
)
|
||||
from .strong_typing.serialization import json_dump_string, object_to_json
|
||||
from .tools import (
|
||||
ListToolDefsResponse,
|
||||
ListToolGroupsResponse,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue