mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
feat: add Prompts API to Responses API
This commit is contained in:
parent
9f6c658f2a
commit
bdc16ea392
15 changed files with 526 additions and 4 deletions
|
@ -321,6 +321,10 @@ def add_internal_implementations(impls: dict[Api, Any], run_config: StackRunConf
|
|||
)
|
||||
impls[Api.conversations] = conversations_impl
|
||||
|
||||
# Set prompts API on agents provider if it exists
|
||||
if Api.agents in impls and hasattr(impls[Api.agents], "set_prompts_api"):
|
||||
impls[Api.agents].set_prompts_api(prompts_impl)
|
||||
|
||||
|
||||
class Stack:
|
||||
def __init__(self, run_config: StackRunConfig, provider_registry: ProviderRegistry | None = None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue