mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-01 16:24:44 +00:00
removed redundant comments
This commit is contained in:
parent
b91e2cc201
commit
45e9e3ac4a
1 changed files with 2 additions and 7 deletions
|
@ -255,8 +255,8 @@
|
|||
" for message in messages:\n",
|
||||
" print(\"tool_calls starting: \", message.tool_calls[0])\n",
|
||||
" return_dict = message.tool_calls[0].arguments\n",
|
||||
" location = return_dict.get(\"location\",None)\n",
|
||||
" date = return_dict.get(\"date\",None)\n",
|
||||
" location = return_dict.get(\"location\", None)\n",
|
||||
" date = return_dict.get(\"date\", None)\n",
|
||||
" print(\"Using Location:\",location)\n",
|
||||
" if date:\n",
|
||||
" print(\"Using date:\",date)\n",
|
||||
|
@ -265,11 +265,6 @@
|
|||
" async def run_impl(self, location: str, date: Optional[str] = None) -> Dict[str, Any]:\n",
|
||||
" \"\"\"Simulate getting weather data (replace with actual API call).\"\"\"\n",
|
||||
" # Mock implementation\n",
|
||||
" # print(\"\"\" {\n",
|
||||
" # \"temperature\": 72.5,\n",
|
||||
" # \"conditions\": \"partly cloudy\",\n",
|
||||
" # \"humidity\": 65.0\n",
|
||||
" # }\"\"\")\n",
|
||||
" return [CompletionMessage(\n",
|
||||
" content=\"\"\"{\n",
|
||||
" \"temperature\": 72.5,\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue