mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
fix: Add fictional liquids to get_boiling_point
gpt-4o needs a hint to use get_boiling_point for fictional liquids. Signed-off-by: Derek Higgins <derekh@redhat.com>
This commit is contained in:
parent
3c9a10d2fe
commit
643c0bb747
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ from llama_stack.apis.agents.agents import (
|
|||
|
||||
def get_boiling_point(liquid_name: str, celcius: bool = True) -> int:
|
||||
"""
|
||||
Returns the boiling point of a liquid in Celcius or Fahrenheit.
|
||||
Returns the boiling point of a liquid in Celcius or Fahrenheit (even fictional liquids).
|
||||
|
||||
:param liquid_name: The name of the liquid
|
||||
:param celcius: Whether to return the boiling point in Celcius
|
||||
|
@ -39,7 +39,7 @@ def get_boiling_point(liquid_name: str, celcius: bool = True) -> int:
|
|||
|
||||
def get_boiling_point_with_metadata(liquid_name: str, celcius: bool = True) -> dict[str, Any]:
|
||||
"""
|
||||
Returns the boiling point of a liquid in Celcius or Fahrenheit
|
||||
Returns the boiling point of a liquid in Celcius or Fahrenheit (even fictional liquids).
|
||||
|
||||
:param liquid_name: The name of the liquid
|
||||
:param celcius: Whether to return the boiling point in Celcius
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue