From 6a43c28a841b729da1aedeeb350b5fe54329f330 Mon Sep 17 00:00:00 2001 From: Steve Androulakis Date: Sat, 15 Feb 2025 07:02:01 -0800 Subject: [PATCH] new line chars in chat response ui, gbp stripe currency, valid teams for 24 25 season --- frontend/src/components/LLMResponse.jsx | 2 +- tools/create_invoice.py | 2 +- tools/tool_registry.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/LLMResponse.jsx b/frontend/src/components/LLMResponse.jsx index 3e4f361..feedbf7 100644 --- a/frontend/src/components/LLMResponse.jsx +++ b/frontend/src/components/LLMResponse.jsx @@ -33,7 +33,7 @@ const LLMResponse = memo(({ data, onConfirm, isLastMessage, onHeightChange }) => : ''; return ( -
+
diff --git a/tools/create_invoice.py b/tools/create_invoice.py index 19e5b92..4771a53 100644 --- a/tools/create_invoice.py +++ b/tools/create_invoice.py @@ -42,7 +42,7 @@ def create_invoice(args: dict) -> dict: stripe.InvoiceItem.create( customer=customer_id, amount=amount_cents, - currency="usd", + currency="gbp", description=args.get("tripDetails", "Service Invoice"), ) diff --git a/tools/tool_registry.py b/tools/tool_registry.py index 27f9d45..783470b 100644 --- a/tools/tool_registry.py +++ b/tools/tool_registry.py @@ -85,7 +85,7 @@ create_invoice_tool = ToolDefinition( search_fixtures_tool = ToolDefinition( name="SearchFixtures", - description="Search for upcoming fixtures for a given team and month", + description="Search for upcoming fixtures for a given team and month. Valid teams this 24/25 season are Arsenal FC, Aston Villa FC, AFC Bournemouth, Brentford FC, Brighton & Hove Albion FC, Chelsea FC, Crystal Palace FC, Everton FC, Fulham FC, Ipswich Town FC, Leicester City FC, Liverpool FC, Manchester City FC, Manchester United FC, Newcastle United FC, Nottingham Forest FC, Southampton FC, Tottenham Hotspur FC, West Ham United FC, Wolverhampton Wanderers FC", arguments=[ ToolArgument( name="team",