From 643c0bb7475f1e868fc1e487f6107cb59f2b65fb Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Wed, 14 May 2025 12:14:37 +0100 Subject: [PATCH] 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 --- tests/integration/agents/test_agents.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/agents/test_agents.py b/tests/integration/agents/test_agents.py index 66c9ab829..161b6ee03 100644 --- a/tests/integration/agents/test_agents.py +++ b/tests/integration/agents/test_agents.py @@ -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