mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-28 00:01:59 +00:00
chore: more code-interpreter removal
Final removal piece of code-interpreter provider. Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
e3ad17ec5e
commit
c1f53ddc16
25 changed files with 7 additions and 346 deletions
|
|
@ -147,25 +147,6 @@ def usecases() -> list[UseCase | str]:
|
|||
"""
|
||||
),
|
||||
),
|
||||
UseCase(
|
||||
title="Builtin Code Interpreter",
|
||||
description="Here is an actual example of model responding with code",
|
||||
dialogs=[
|
||||
[
|
||||
RawMessage(role="system", content="Environment: ipython"),
|
||||
RawMessage(
|
||||
role="user",
|
||||
content="Write code to check if number is prime, use that to see if the number 7 is prime",
|
||||
),
|
||||
],
|
||||
],
|
||||
notes=textwrap.dedent(
|
||||
"""
|
||||
- Model starts with <|python_tag|> and continues writing python code that it needs to be executed
|
||||
- No explicit mention of code_interpreter in system prompt. `Environment: ipython` implicitly enables it.
|
||||
"""
|
||||
),
|
||||
),
|
||||
UseCase(
|
||||
title="Built-in tools full interaction",
|
||||
description="Here is a full interaction with the built-in tools including the tool response and the final assistant response.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue