Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ai agent mysql tool cannot pass dymanic values using {{$fromAI()}} #11209

Open
jithinagiboson opened this issue Oct 10, 2024 · 16 comments
Open
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@jithinagiboson
Copy link

Bug Description

i was trying to execute sql query which is dynamicaly populated by the ai agent
the table name is clearly generated by the ai and it is very visible on the expression output.But when i run it i shows no execution data available. i think its a bug.
i am using version 1.62.3

image

To Reproduce

just try to pass a dynamic value from ai to the query section

Expected behavior

the qury should have worked using the dynamic value which in my case was table name

Operating System

Linux Mint 21

n8n Version

1.62.3

Node.js Version

v20.10.0

Database

MySQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Oct 10, 2024

Hey @jithinagiboson,

We have created an internal ticket to look into this which we will be tracking as "GHC-304"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Oct 10, 2024
@Joffcom
Copy link
Member

Joffcom commented Oct 10, 2024

Hey @jithinagiboson,

Can you expand the error details? Looking at that I suspect one of your 9 inputs doesn't have valid output data, Have you checked all 9?

@jithinagiboson
Copy link
Author

image
all 9 have this same value as the previous image

@jithinagiboson
Copy link
Author

jithinagiboson commented Oct 10, 2024

if i put the query static it works. But i want to select the table name dynamicaly from table list and call describe on that table name

@jithinagiboson
Copy link
Author

am trying to create a text to sql chat bot

@Joffcom
Copy link
Member

Joffcom commented Oct 10, 2024

@jithinagiboson can you share the full output from the error so we can take a look? no execution data sounds like one of the 9 runs may not be returning anything.

@jithinagiboson
Copy link
Author

image

No execution data available
Error details

 Other info
n8n version

1.62.3 (Self Hosted)

Time

10/10/2024, 6:55:41 PM

Error cause

{ "message": "No execution data available", "timestamp": 1728566741499, "name": "ExpressionError", "context": { "type": "no_execution_data" } }```

@Joffcom
Copy link
Member

Joffcom commented Oct 10, 2024

Perfect and what is the output of the model and are you using one that is smart enough to know that there are multiple tools that may need to be used?

@jithinagiboson
Copy link
Author

i am using qwen2.5 14b its very inteligent than llama3.1 for this stuff

@jithinagiboson
Copy link
Author

image
this name is passed from the ai agent if my knowledge is correct i did not pass that value mannualy

@jithinagiboson
Copy link
Author

My_workflow (2).json
i donot know if this file is use full

@Joffcom
Copy link
Member

Joffcom commented Oct 10, 2024

Do you have the output of the model? I can see the input on the tool which could be different to the output of the model

@jithinagiboson
Copy link
Author

this one ?
image

  {
    "output": "Agent stopped due to max iterations.",
    "intermediateSteps": [
      {
        "action": {
          "tool": "describe_table",
          "toolInput": {
            "name": "payment_payments"
          },
          "toolCallId": "ff071779-189b-4c24-a0cf-85111a06ed45",
          "log": "Invoking \"describe_table\" with {\"name\":\"payment_payments\"}\n",
          "messageLog": [
            {
              "lc": 1,
              "type": "constructor",
              "id": [
                "langchain_core",
                "messages",
                "AIMessageChunk"
              ],
              "kwargs": {
                "content": "",
                "tool_call_chunks": [
                  {
                    "name": "describe_table",
                    "args": "{\"name\":\"payment_payments\"}",
                    "type": "tool_call_chunk",
                    "index": 0,
                    "id": "ff071779-189b-4c24-a0cf-85111a06ed45"
                  }
                ],
                "response_metadata": {
                  "model": "qwen2.5:14b",
                  "created_at": "2024-10-10T13:51:22.986068984Z",
                  "done_reason": "stop",
                  "done": true,
                  "total_duration": 902038484,
                  "load_duration": 53515497,
                  "prompt_eval_count": 369,
                  "prompt_eval_duration": 101489000,
                  "eval_count": 21,
                  "eval_duration": 591875000
                },
                "usage_metadata": {
                  "input_tokens": 369,
                  "output_tokens": 21,
                  "total_tokens": 390
                },
                "tool_calls": [
                  {
                    "name": "describe_table",
                    "args": {
                      "name": "payment_payments"
                    },
                    "id": "ff071779-189b-4c24-a0cf-85111a06ed45",
                    "type": "tool_call"
                  }
                ],
                "invalid_tool_calls": [],
                "additional_kwargs": {},
                "id": "run-598d97a1-7841-4abc-b146-8a28109cac47"
              }
            }
          ]
        },
        "observation": "Error during node execution: undefined"
      },
      {
        "action": {
          "tool": "list_MySQL_tables",
          "toolInput": {},
          "toolCallId": "0c8fe9e5-8b32-46e5-911f-6b7edd9accbc",
          "log": "Invoking \"list_MySQL_tables\" with {}\n",
          "messageLog": [
            {
              "lc": 1,
              "type": "constructor",
              "id": [
                "langchain_core",
                "messages",
                "AIMessageChunk"
              ],
              "kwargs": {
                "content": "",
                "tool_call_chunks": [
                  {
                    "name": "list_MySQL_tables",
                    "args": "{}",
                    "type": "tool_call_chunk",
                    "index": 0,
                    "id": "0c8fe9e5-8b32-46e5-911f-6b7edd9accbc"
                  }
                ],
                "response_metadata": {
                  "model": "qwen2.5:14b",
                  "created_at": "2024-10-10T13:51:25.17753748Z",
                  "done_reason": "stop",
                  "done": true,
                  "total_duration": 1976776203,
                  "load_duration": 54486447,
                  "prompt_eval_count": 394,
                  "prompt_eval_duration": 81026000,
                  "eval_count": 55,
                  "eval_duration": 1523927000
                },
                "usage_metadata": {
                  "input_tokens": 394,
                  "output_tokens": 55,
                  "total_tokens": 449
                },
                "tool_calls": [
                  {
                    "name": "list_MySQL_tables",
                    "args": {},
                    "id": "0c8fe9e5-8b32-46e5-911f-6b7edd9accbc",
                    "type": "tool_call"
                  }
                ],
                "invalid_tool_calls": [],
                "additional_kwargs": {},
                "id": "run-31bd65a4-a4fd-46f7-a395-ef38dc5756f8"
              }
            }
          ]
        },
        "observation": "[{\"Table\":\"crm_activities\",\"integration_type\":\"\\\"HUBSPOT\\\"\"},{\"Table\":\"crm_companies\",\"integration_type\":\"\\\"HUBSPOT\\\"\"},{\"Table\":\"crm_contacts\",\"integration_type\":\"\\\"HUBSPOT\\\"\"},{\"Table\":\"crm_deals\",\"integration_type\":\"\\\"HUBSPOT\\\"\"},{\"Table\":\"crm_leads\",\"integration_type\":\"\\\"HUBSPOT\\\"\"},{\"Table\":\"crm_notes\",\"integration_type\":\"\\\"HUBSPOT\\\"\"},{\"Table\":\"crm_pipelines\",\"integration_type\":\"\\\"HUBSPOT\\\"\"},{\"Table\":\"crm_stages\",\"integration_type\":\"\\\"HUBSPOT\\\"\"},{\"Table\":\"crm_tasks\",\"integration_type\":\"\\\"HUBSPOT\\\"\"},{\"Table\":\"crm_users\",\"integration_type\":\"\\\"HUBSPOT\\\"\"},{\"Table\":\"payment_balances\",\"integration_type\":\"\\\"RAZORPAY\\\",\\\"STRIPE\\\"\"},{\"Table\":\"payment_customers\",\"integration_type\":\"\\\"RAZORPAY\\\",\\\"STRIPE\\\"\"},{\"Table\":\"payment_disputes\",\"integration_type\":\"\\\"RAZORPAY\\\",\\\"STRIPE\\\"\"},{\"Table\":\"payment_invoices\",\"integration_type\":\"\\\"RAZORPAY\\\",\\\"STRIPE\\\"\"},{\"Table\":\"payment_items\",\"integration_type\":\"\\\"RAZORPAY\\\",\\\"STRIPE\\\"\"},{\"Table\":\"payment_orders\",\"integration_type\":\"\\\"RAZORPAY\\\",\\\"STRIPE\\\"\"},{\"Table\":\"payment_payments\",\"integration_type\":\"\\\"RAZORPAY\\\",\\\"STRIPE\\\"\"},{\"Table\":\"payment_payment_links\",\"integration_type\":\"\\\"RAZORPAY\\\",\\\"STRIPE\\\"\"},{\"Table\":\"payment_payouts\",\"integration_type\":\"\\\"RAZORPAY\\\",\\\"STRIPE\\\"\"},{\"Table\":\"payment_refunds\",\"integration_type\":\"\\\"RAZORPAY\\\",\\\"STRIPE\\\"\"},{\"Table\":\"payment_subscriptions\",\"integration_type\":\"\\\"RAZORPAY\\\",\\\"STRIPE\\\"\"},{\"Table\":\"payment_tax_rates\",\"integration_type\":\"\\\"RAZORPAY\\\",\\\"STRIPE\\\"\"},{\"Table\":\"payment_transactions\",\"integration_type\":\"\\\"RAZORPAY\\\",\\\"STRIPE\\\"\"}]"
      },
      {
        "action": {
          "tool": "describe_table",
          "toolInput": {
            "name": "payment_payments"
          },
          "toolCallId": "98c448d7-d4ca-48dd-b5ab-5ed8e3ee729f",
          "log": "Invoking \"describe_table\" with {\"name\":\"payment_payments\"}\n",
          "messageLog": [
            {
              "lc": 1,
              "type": "constructor",
              "id": [
                "langchain_core",
                "messages",
                "AIMessageChunk"
              ],
              "kwargs": {
                "content": "",
                "tool_call_chunks": [
                  {
                    "name": "describe_table",
                    "args": "{\"name\":\"payment_payments\"}",
                    "type": "tool_call_chunk",
                    "index": 0,
                    "id": "98c448d7-d4ca-48dd-b5ab-5ed8e3ee729f"
                  }
                ],
                "response_metadata": {
                  "model": "qwen2.5:14b",
                  "created_at": "2024-10-10T13:51:26.956557238Z",
                  "done_reason": "stop",
                  "done": true,
                  "total_duration": 1523979863,
                  "load_duration": 63383934,
                  "prompt_eval_count": 828,
                  "prompt_eval_duration": 405290000,
                  "eval_count": 21,
                  "eval_duration": 584793000
                },
                "usage_metadata": {
                  "input_tokens": 828,
                  "output_tokens": 21,
                  "total_tokens": 849
                },
                "tool_calls": [
                  {
                    "name": "describe_table",
                    "args": {
                      "name": "payment_payments"
                    },
                    "id": "98c448d7-d4ca-48dd-b5ab-5ed8e3ee729f",
                    "type": "tool_call"
                  }
                ],
                "invalid_tool_calls": [],
                "additional_kwargs": {},
                "id": "run-f20bd721-c745-46ec-9c8f-85bcd10580c7"
              }
            }
          ]
        },
        "observation": "Error during node execution: undefined"
      },
      {
        "action": {
          "tool": "describe_table",
          "toolInput": {
            "name": "payment_payments"
          },
          "toolCallId": "ec6b82f0-dc8c-4ad9-94f5-89fa8a0af6f5",
          "log": "Invoking \"describe_table\" with {\"name\":\"payment_payments\"}\n",
          "messageLog": [
            {
              "lc": 1,
              "type": "constructor",
              "id": [
                "langchain_core",
                "messages",
                "AIMessageChunk"
              ],
              "kwargs": {
                "content": "",
                "tool_call_chunks": [
                  {
                    "name": "describe_table",
                    "args": "{\"name\":\"payment_payments\"}",
                    "type": "tool_call_chunk",
                    "index": 0,
                    "id": "ec6b82f0-dc8c-4ad9-94f5-89fa8a0af6f5"
                  }
                ],
                "response_metadata": {
                  "model": "qwen2.5:14b",
                  "created_at": "2024-10-10T13:51:28.71293759Z",
                  "done_reason": "stop",
                  "done": true,
                  "total_duration": 1517101586,
                  "load_duration": 56689433,
                  "prompt_eval_count": 853,
                  "prompt_eval_duration": 105584000,
                  "eval_count": 21,
                  "eval_duration": 601269000
                },
                "usage_metadata": {
                  "input_tokens": 853,
                  "output_tokens": 21,
                  "total_tokens": 874
                },
                "tool_calls": [
                  {
                    "name": "describe_table",
                    "args": {
                      "name": "payment_payments"
                    },
                    "id": "ec6b82f0-dc8c-4ad9-94f5-89fa8a0af6f5",
                    "type": "tool_call"
                  }
                ],
                "invalid_tool_calls": [],
                "additional_kwargs": {},
                "id": "run-55fb104e-9b86-4c8f-a667-0689030cefb7"
              }
            }
          ]
        },
        "observation": "Error during node execution: undefined"
      },
      {
        "action": {
          "tool": "describe_table",
          "toolInput": {
            "name": "payment_payments"
          },
          "toolCallId": "75803847-2b6d-43a1-97b9-78be14677ca7",
          "log": "Invoking \"describe_table\" with {\"name\":\"payment_payments\"}\n",
          "messageLog": [
            {
              "lc": 1,
              "type": "constructor",
              "id": [
                "langchain_core",
                "messages",
                "AIMessageChunk"
              ],
              "kwargs": {
                "content": "",
                "tool_call_chunks": [
                  {
                    "name": "describe_table",
                    "args": "{\"name\":\"payment_payments\"}",
                    "type": "tool_call_chunk",
                    "index": 0,
                    "id": "75803847-2b6d-43a1-97b9-78be14677ca7"
                  }
                ],
                "response_metadata": {
                  "model": "qwen2.5:14b",
                  "created_at": "2024-10-10T13:51:30.643363975Z",
                  "done_reason": "stop",
                  "done": true,
                  "total_duration": 1691325378,
                  "load_duration": 57271932,
                  "prompt_eval_count": 878,
                  "prompt_eval_duration": 113991000,
                  "eval_count": 21,
                  "eval_duration": 604484000
                },
                "usage_metadata": {
                  "input_tokens": 878,
                  "output_tokens": 21,
                  "total_tokens": 899
                },
                "tool_calls": [
                  {
                    "name": "describe_table",
                    "args": {
                      "name": "payment_payments"
                    },
                    "id": "75803847-2b6d-43a1-97b9-78be14677ca7",
                    "type": "tool_call"
                  }
                ],
                "invalid_tool_calls": [],
                "additional_kwargs": {},
                "id": "run-f5348d09-db40-43e2-9a8d-402939d1b105"
              }
            }
          ]
        },
        "observation": "Error during node execution: undefined"
      },
      {
        "action": {
          "tool": "describe_table",
          "toolInput": {
            "name": "payment_payments"
          },
          "toolCallId": "f0f17f7c-b7de-4ef5-86de-a09bf613143b",
          "log": "Invoking \"describe_table\" with {\"name\":\"payment_payments\"}\n",
          "messageLog": [
            {
              "lc": 1,
              "type": "constructor",
              "id": [
                "langchain_core",
                "messages",
                "AIMessageChunk"
              ],
              "kwargs": {
                "content": "",
                "tool_call_chunks": [
                  {
                    "name": "describe_table",
                    "args": "{\"name\":\"payment_payments\"}",
                    "type": "tool_call_chunk",
                    "index": 0,
                    "id": "f0f17f7c-b7de-4ef5-86de-a09bf613143b"
                  }
                ],
                "response_metadata": {
                  "model": "qwen2.5:14b",
                  "created_at": "2024-10-10T13:51:32.794681518Z",
                  "done_reason": "stop",
                  "done": true,
                  "total_duration": 1906439560,
                  "load_duration": 58788716,
                  "prompt_eval_count": 903,
                  "prompt_eval_duration": 116200000,
                  "eval_count": 21,
                  "eval_duration": 598029000
                },
                "usage_metadata": {
                  "input_tokens": 903,
                  "output_tokens": 21,
                  "total_tokens": 924
                },
                "tool_calls": [
                  {
                    "name": "describe_table",
                    "args": {
                      "name": "payment_payments"
                    },
                    "id": "f0f17f7c-b7de-4ef5-86de-a09bf613143b",
                    "type": "tool_call"
                  }
                ],
                "invalid_tool_calls": [],
                "additional_kwargs": {},
                "id": "run-54c13652-70b0-40b0-9d36-5709c5d42a85"
              }
            }
          ]
        },
        "observation": "Error during node execution: undefined"
      },
      {
        "action": {
          "tool": "describe_table",
          "toolInput": {
            "name": "payment_payments"
          },
          "toolCallId": "54204cb5-1891-437a-928c-164b0a692a7f",
          "log": "Invoking \"describe_table\" with {\"name\":\"payment_payments\"}\n",
          "messageLog": [
            {
              "lc": 1,
              "type": "constructor",
              "id": [
                "langchain_core",
                "messages",
                "AIMessageChunk"
              ],
              "kwargs": {
                "content": "",
                "tool_call_chunks": [
                  {
                    "name": "describe_table",
                    "args": "{\"name\":\"payment_payments\"}",
                    "type": "tool_call_chunk",
                    "index": 0,
                    "id": "54204cb5-1891-437a-928c-164b0a692a7f"
                  }
                ],
                "response_metadata": {
                  "model": "qwen2.5:14b",
                  "created_at": "2024-10-10T13:51:36.484077437Z",
                  "done_reason": "stop",
                  "done": true,
                  "total_duration": 3450321195,
                  "load_duration": 58067827,
                  "prompt_eval_count": 928,
                  "prompt_eval_duration": 130149000,
                  "eval_count": 62,
                  "eval_duration": 1787417000
                },
                "usage_metadata": {
                  "input_tokens": 928,
                  "output_tokens": 62,
                  "total_tokens": 990
                },
                "tool_calls": [
                  {
                    "name": "describe_table",
                    "args": {
                      "name": "payment_payments"
                    },
                    "id": "54204cb5-1891-437a-928c-164b0a692a7f",
                    "type": "tool_call"
                  }
                ],
                "invalid_tool_calls": [],
                "additional_kwargs": {},
                "id": "run-e9c99e41-e802-40ec-9bc6-aaa0216a6592"
              }
            }
          ]
        },
        "observation": "Error during node execution: undefined"
      },
      {
        "action": {
          "tool": "execute_sql_query",
          "toolInput": {
            "query": "DESCRIBE payment_payments;"
          },
          "toolCallId": "898dd4c1-4c5f-416e-a1d4-9addc5209858",
          "log": "Invoking \"execute_sql_query\" with {\"query\":\"DESCRIBE payment_payments;\"}\n",
          "messageLog": [
            {
              "lc": 1,
              "type": "constructor",
              "id": [
                "langchain_core",
                "messages",
                "AIMessageChunk"
              ],
              "kwargs": {
                "content": "",
                "tool_call_chunks": [
                  {
                    "name": "execute_sql_query",
                    "args": "{\"query\":\"DESCRIBE payment_payments;\"}",
                    "type": "tool_call_chunk",
                    "index": 0,
                    "id": "898dd4c1-4c5f-416e-a1d4-9addc5209858"
                  }
                ],
                "response_metadata": {
                  "model": "qwen2.5:14b",
                  "created_at": "2024-10-10T13:51:40.263119461Z",
                  "done_reason": "stop",
                  "done": true,
                  "total_duration": 3537127318,
                  "load_duration": 55242330,
                  "prompt_eval_count": 953,
                  "prompt_eval_duration": 116183000,
                  "eval_count": 59,
                  "eval_duration": 1700520000
                },
                "usage_metadata": {
                  "input_tokens": 953,
                  "output_tokens": 59,
                  "total_tokens": 1012
                },
                "tool_calls": [
                  {
                    "name": "execute_sql_query",
                    "args": {
                      "query": "DESCRIBE payment_payments;"
                    },
                    "id": "898dd4c1-4c5f-416e-a1d4-9addc5209858",
                    "type": "tool_call"
                  }
                ],
                "invalid_tool_calls": [],
                "additional_kwargs": {},
                "id": "run-4e8e7d31-359b-4bdf-aa4b-4a5aa4b49221"
              }
            }
          ]
        },
        "observation": "Error during node execution: undefined"
      },
      {
        "action": {
          "tool": "execute_sql_query",
          "toolInput": {
            "query": "DESCRIBE payment_payments;"
          },
          "toolCallId": "6ae4b09a-5aa4-413f-b223-13413e6e84eb",
          "log": "Invoking \"execute_sql_query\" with {\"query\":\"DESCRIBE payment_payments;\"}\n",
          "messageLog": [
            {
              "lc": 1,
              "type": "constructor",
              "id": [
                "langchain_core",
                "messages",
                "AIMessageChunk"
              ],
              "kwargs": {
                "content": "",
                "tool_call_chunks": [
                  {
                    "name": "execute_sql_query",
                    "args": "{\"query\":\"DESCRIBE payment_payments;\"}",
                    "type": "tool_call_chunk",
                    "index": 0,
                    "id": "6ae4b09a-5aa4-413f-b223-13413e6e84eb"
                  }
                ],
                "response_metadata": {
                  "model": "qwen2.5:14b",
                  "created_at": "2024-10-10T13:51:44.570389684Z",
                  "done_reason": "stop",
                  "done": true,
                  "total_duration": 4035459675,
                  "load_duration": 52696745,
                  "prompt_eval_count": 978,
                  "prompt_eval_duration": 140784000,
                  "eval_count": 66,
                  "eval_duration": 1904911000
                },
                "usage_metadata": {
                  "input_tokens": 978,
                  "output_tokens": 66,
                  "total_tokens": 1044
                },
                "tool_calls": [
                  {
                    "name": "execute_sql_query",
                    "args": {
                      "query": "DESCRIBE payment_payments;"
                    },
                    "id": "6ae4b09a-5aa4-413f-b223-13413e6e84eb",
                    "type": "tool_call"
                  }
                ],
                "invalid_tool_calls": [],
                "additional_kwargs": {},
                "id": "run-ca61b793-9c53-48ee-bb8e-85f87ecf374c"
              }
            }
          ]
        },
        "observation": "Error during node execution: undefined"
      },
      {
        "action": {
          "tool": "describe_table",
          "toolInput": {
            "name": "payment_payments"
          },
          "toolCallId": "c02c43ce-aa98-4afa-acab-986e454983a7",
          "log": "Invoking \"describe_table\" with {\"name\":\"payment_payments\"}\n",
          "messageLog": [
            {
              "lc": 1,
              "type": "constructor",
              "id": [
                "langchain_core",
                "messages",
                "AIMessageChunk"
              ],
              "kwargs": {
                "content": "",
                "tool_call_chunks": [
                  {
                    "name": "describe_table",
                    "args": "{\"name\":\"payment_payments\"}",
                    "type": "tool_call_chunk",
                    "index": 0,
                    "id": "c02c43ce-aa98-4afa-acab-986e454983a7"
                  }
                ],
                "response_metadata": {
                  "model": "qwen2.5:14b",
                  "created_at": "2024-10-10T13:51:48.720355748Z",
                  "done_reason": "stop",
                  "done": true,
                  "total_duration": 3909987095,
                  "load_duration": 57089006,
                  "prompt_eval_count": 1003,
                  "prompt_eval_duration": 146161000,
                  "eval_count": 49,
                  "eval_duration": 1409364000
                },
                "usage_metadata": {
                  "input_tokens": 1003,
                  "output_tokens": 49,
                  "total_tokens": 1052
                },
                "tool_calls": [
                  {
                    "name": "describe_table",
                    "args": {
                      "name": "payment_payments"
                    },
                    "id": "c02c43ce-aa98-4afa-acab-986e454983a7",
                    "type": "tool_call"
                  }
                ],
                "invalid_tool_calls": [],
                "additional_kwargs": {},
                "id": "run-d05e0087-1056-4dd8-9b43-13501bb60ade"
              }
            }
          ]
        },
        "observation": "Error during node execution: undefined"
      }
    ]
  }
]```

@jithinagiboson
Copy link
Author

change ollama chat model format to JSON now output is shorter but same issue

  "output": "{}\n",
  "intermediateSteps": [
    {
      "action": {
        "tool": "describe_table",
        "toolInput": {
          "name": "payment_payments"
        },
        "toolCallId": "f445664a-88fa-44ac-b78d-5eb018d7c3ca",
        "log": "Invoking \"describe_table\" with {\"name\":\"payment_payments\"}\n",
        "messageLog": [
          {
            "lc": 1,
            "type": "constructor",
            "id": [
              "langchain_core",
              "messages",
              "AIMessageChunk"
            ],
            "kwargs": {
              "content": "",
              "tool_call_chunks": [
                {
                  "name": "describe_table",
                  "args": "{\"name\":\"payment_payments\"}",
                  "type": "tool_call_chunk",
                  "index": 0,
                  "id": "f445664a-88fa-44ac-b78d-5eb018d7c3ca"
                }
              ],
              "response_metadata": {
                "model": "qwen2.5:14b",
                "created_at": "2024-10-10T13:54:46.799672667Z",
                "done_reason": "stop",
                "done": true,
                "total_duration": 1039176216,
                "load_duration": 53838797,
                "prompt_eval_count": 369,
                "prompt_eval_duration": 100018000,
                "eval_count": 26,
                "eval_duration": 726747000
              },
              "usage_metadata": {
                "input_tokens": 369,
                "output_tokens": 26,
                "total_tokens": 395
              },
              "tool_calls": [
                {
                  "name": "describe_table",
                  "args": {
                    "name": "payment_payments"
                  },
                  "id": "f445664a-88fa-44ac-b78d-5eb018d7c3ca",
                  "type": "tool_call"
                }
              ],
              "invalid_tool_calls": [],
              "additional_kwargs": {},
              "id": "run-5cb22832-5424-40fb-a120-e53b89b0fee6"
            }
          }
        ]
      },
      "observation": "Error during node execution: undefined"
    }
  ]
}

@Joffcom
Copy link
Member

Joffcom commented Oct 10, 2024

Perfect thanks I will pass this to the team to look into.

@jithinagiboson
Copy link
Author

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants