mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
- inlined AgenticSystemInstanceConfig so API feels more ergonomic - renamed it to AgentConfig, AgentInstance -> Agent - added a MemoryConfig and `memory` parameter - added `attachments` to input and `output_attachments` to the response - some naming changes
31 lines
971 B
Python
31 lines
971 B
Python
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the terms described in the LICENSE file in
|
|
# the root directory of this source tree.
|
|
|
|
from typing import List
|
|
|
|
from llama_toolchain.distribution.datatypes import Api, InlineProviderSpec, ProviderSpec
|
|
|
|
|
|
def available_agentic_system_providers() -> List[ProviderSpec]:
|
|
return [
|
|
InlineProviderSpec(
|
|
api=Api.agentic_system,
|
|
provider_id="meta-reference",
|
|
pip_packages=[
|
|
"codeshield",
|
|
"pillow",
|
|
"torch",
|
|
"transformers",
|
|
],
|
|
module="llama_toolchain.agentic_system.meta_reference",
|
|
config_class="llama_toolchain.agentic_system.meta_reference.MetaReferenceImplConfig",
|
|
api_dependencies=[
|
|
Api.inference,
|
|
Api.safety,
|
|
Api.memory,
|
|
],
|
|
),
|
|
]
|