mirror of
https://github.com/katanemo/plano.git
synced 2026-06-29 15:49:40 +02:00
add tests
This commit is contained in:
parent
4489b13826
commit
cafcd98cea
5 changed files with 257 additions and 227 deletions
|
|
@ -5,7 +5,7 @@ tools = [
|
|||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"account_id": {"type": "string", "description": "The account ID"}
|
||||
"account_id": {"type": "str", "description": "The account ID"}
|
||||
},
|
||||
"required": ["account_id"],
|
||||
},
|
||||
|
|
@ -17,14 +17,14 @@ tools = [
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"from_account": {
|
||||
"type": "string",
|
||||
"type": "str",
|
||||
"description": "The account to transfer from",
|
||||
},
|
||||
"to_account": {
|
||||
"type": "string",
|
||||
"type": "str",
|
||||
"description": "The account to transfer to",
|
||||
},
|
||||
"amount": {"type": "number", "description": "The amount to transfer"},
|
||||
"amount": {"type": "int", "description": "The amount to transfer"},
|
||||
},
|
||||
"required": ["from_account", "to_account", "amount"],
|
||||
},
|
||||
|
|
@ -35,13 +35,13 @@ tools = [
|
|||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"account_id": {"type": "string", "description": "The account ID"},
|
||||
"account_id": {"type": "str", "description": "The account ID"},
|
||||
"start_date": {
|
||||
"type": "string",
|
||||
"type": "str",
|
||||
"description": "The start date of the transactions",
|
||||
},
|
||||
"end_date": {
|
||||
"type": "string",
|
||||
"type": "str",
|
||||
"description": "The end date of the transactions",
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ tools = [
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"from_currency": {
|
||||
"type": "string",
|
||||
"type": "str",
|
||||
"description": "The currency to convert from",
|
||||
"default": "USD",
|
||||
},
|
||||
"to_currency": {
|
||||
"type": "string",
|
||||
"type": "str",
|
||||
"description": "The currency to convert to",
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ tools = [
|
|||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"address": {"type": "string", "description": "The address to verify"}
|
||||
"address": {"type": "str", "description": "The address to verify"}
|
||||
},
|
||||
"required": ["address"],
|
||||
},
|
||||
|
|
@ -17,7 +17,7 @@ tools = [
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"tracking_number": {
|
||||
"type": "string",
|
||||
"type": "str",
|
||||
"description": "The tracking number",
|
||||
}
|
||||
},
|
||||
|
|
@ -30,13 +30,13 @@ tools = [
|
|||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"sender": {"type": "string", "description": "The address to ship from"},
|
||||
"sender": {"type": "str", "description": "The address to ship from"},
|
||||
"recipient": {
|
||||
"type": "string",
|
||||
"type": "str",
|
||||
"description": "The address to ship to",
|
||||
},
|
||||
"weight": {
|
||||
"type": "number",
|
||||
"type": "int",
|
||||
"description": "The weight of the package",
|
||||
},
|
||||
},
|
||||
|
|
@ -49,13 +49,13 @@ tools = [
|
|||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"sender": {"type": "string", "description": "The address to ship from"},
|
||||
"sender": {"type": "str", "description": "The address to ship from"},
|
||||
"recipient": {
|
||||
"type": "string",
|
||||
"type": "str",
|
||||
"description": "The address to ship to",
|
||||
},
|
||||
"weight": {
|
||||
"type": "number",
|
||||
"type": "int",
|
||||
"description": "The weight of the package",
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue