removed redundant comments

This commit is contained in:
Justin Lee 2024-11-06 18:30:55 -08:00
parent b91e2cc201
commit 45e9e3ac4a

View file

@ -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",