llama-stack-mirror/llama_stack/models/llama
ehhuang 1e5bf6c19d
feat: update default tool use prompt (#1803)
# What does this PR do?
User reports in
https://github.com/meta-llama/llama-stack/issues/1769#issuecomment-2755564632
that Agent uses tool even on a prompt 'Hello'.

Updated the default prompt. Also move the instruction part out of
`function_description` so that user can override it if desired.

## Test Plan
<img width="1344" alt="image"
src="https://github.com/user-attachments/assets/c606d65d-071f-4211-a719-b4742676acda"
/>

Also performance on 100 hotpotqa questions are similar to the current
prompt.
2025-04-12 11:54:22 -07:00
..
llama3 feat: update default tool use prompt (#1803) 2025-04-12 11:54:22 -07:00
llama3_1 feat: introduce llama4 support (#1877) 2025-04-05 11:53:35 -07:00
llama3_2 refactor: move all llama code to models/llama out of meta reference (#1887) 2025-04-07 15:03:58 -07:00
llama3_3 chore: remove dependency on llama_models completely (#1344) 2025-03-01 12:48:08 -08:00
llama4 feat: add batch inference API to llama stack inference (#1945) 2025-04-12 11:41:12 -07:00
resources feat: introduce llama4 support (#1877) 2025-04-05 11:53:35 -07:00
__init__.py feat: introduce llama4 support (#1877) 2025-04-05 11:53:35 -07:00
checkpoint.py refactor: move all llama code to models/llama out of meta reference (#1887) 2025-04-07 15:03:58 -07:00
datatypes.py refactor: move all llama code to models/llama out of meta reference (#1887) 2025-04-07 15:03:58 -07:00
hadamard_utils.py refactor: move all llama code to models/llama out of meta reference (#1887) 2025-04-07 15:03:58 -07:00
prompt_format.py refactor: move all llama code to models/llama out of meta reference (#1887) 2025-04-07 15:03:58 -07:00
quantize_impls.py fix: on-the-fly int4 quantize parameter (#1920) 2025-04-09 15:00:12 -07:00
sku_list.py refactor: move all llama code to models/llama out of meta reference (#1887) 2025-04-07 15:03:58 -07:00
sku_types.py refactor: move all llama code to models/llama out of meta reference (#1887) 2025-04-07 15:03:58 -07:00