mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
renaming the demo
This commit is contained in:
parent
edb36b5f8e
commit
5d97f63bc7
9 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,6 @@ If no city can be found, output: NOT_FOUND"""
|
|||
)
|
||||
|
||||
location = response.choices[0].message.content.strip().strip("\"'`.,!?")
|
||||
logger.info("Location extraction result: '%s'", location)
|
||||
|
||||
if not location or location.upper() == "NOT_FOUND":
|
||||
location = "New York"
|
||||
|
|
@ -281,6 +280,7 @@ def build_weather_agent(
|
|||
request_id = request.headers.get("x-request-id")
|
||||
if request_id:
|
||||
extra_headers["x-request-id"] = request_id
|
||||
logger.debug("Request ID set: [redacted]")
|
||||
inject(extra_headers, context=ctx)
|
||||
|
||||
@tool("get_weather_forecast", args_schema=WeatherToolInput)
|
||||
Loading…
Add table
Add a link
Reference in a new issue