mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
new line chars in chat response ui, gbp stripe currency, valid teams for 24 25 season
This commit is contained in:
@@ -33,7 +33,7 @@ const LLMResponse = memo(({ data, onConfirm, isLastMessage, onHeightChange }) =>
|
|||||||
: '';
|
: '';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref={responseRef} className="space-y-2">
|
<div ref={responseRef} className="space-y-2" style={{ whiteSpace: 'pre-line' }}>
|
||||||
<MessageBubble
|
<MessageBubble
|
||||||
message={{ response: displayText || defaultText }}
|
message={{ response: displayText || defaultText }}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ def create_invoice(args: dict) -> dict:
|
|||||||
stripe.InvoiceItem.create(
|
stripe.InvoiceItem.create(
|
||||||
customer=customer_id,
|
customer=customer_id,
|
||||||
amount=amount_cents,
|
amount=amount_cents,
|
||||||
currency="usd",
|
currency="gbp",
|
||||||
description=args.get("tripDetails", "Service Invoice"),
|
description=args.get("tripDetails", "Service Invoice"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ create_invoice_tool = ToolDefinition(
|
|||||||
|
|
||||||
search_fixtures_tool = ToolDefinition(
|
search_fixtures_tool = ToolDefinition(
|
||||||
name="SearchFixtures",
|
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=[
|
arguments=[
|
||||||
ToolArgument(
|
ToolArgument(
|
||||||
name="team",
|
name="team",
|
||||||
|
|||||||
Reference in New Issue
Block a user