Code Monkey home page Code Monkey logo

Comments (2)

ZaKull avatar ZaKull commented on June 21, 2024
2023-12-11 11:27:26 The above exception was the direct cause of the following exception:
2023-12-11 11:27:26 
2023-12-11 11:27:26 Traceback (most recent call last):
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/integrations/libs/ml_exec_base.py", line 283, in predict
2023-12-11 11:27:26     predictions = task.result()
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 458, in result
2023-12-11 11:27:26     return self.__get_result()
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
2023-12-11 11:27:26     raise self._exception
2023-12-11 11:27:26 RuntimeError: setup_tools() missing 1 required positional argument: 'openai_api_key'
2023-12-11 11:27:26 
2023-12-11 11:27:26 The above exception was the direct cause of the following exception:
2023-12-11 11:27:26 
2023-12-11 11:27:26 Traceback (most recent call last):
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/api/http/namespaces/sql.py", line 47, in post
2023-12-11 11:27:26     result = mysql_proxy.process_query(query)
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/utilities/profiler/profiler.py", line 138, in wrapper
2023-12-11 11:27:26     result = function(*args, **kwargs)
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/api/mysql/mysql_proxy/mysql_proxy.py", line 525, in process_query
2023-12-11 11:27:26     executor.query_execute(sql)
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/utilities/profiler/profiler.py", line 138, in wrapper
2023-12-11 11:27:26     result = function(*args, **kwargs)
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/api/mysql/mysql_proxy/executor/executor.py", line 115, in query_execute
2023-12-11 11:27:26     self.do_execute()
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/utilities/profiler/profiler.py", line 138, in wrapper
2023-12-11 11:27:26     result = function(*args, **kwargs)
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/api/mysql/mysql_proxy/executor/executor.py", line 212, in do_execute
2023-12-11 11:27:26     ret = self.command_executor.execute_command(self.query)
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/utilities/profiler/profiler.py", line 138, in wrapper
2023-12-11 11:27:26     result = function(*args, **kwargs)
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/api/mysql/mysql_proxy/executor/executor_commands.py", line 619, in execute_command
2023-12-11 11:27:26     query = SQLQuery(statement, session=self.session)
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/api/mysql/mysql_proxy/classes/sql_query.py", line 460, in __init__
2023-12-11 11:27:26     self.execute_query()
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/api/mysql/mysql_proxy/classes/sql_query.py", line 690, in execute_query
2023-12-11 11:27:26     raise e
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/api/mysql/mysql_proxy/classes/sql_query.py", line 684, in execute_query
2023-12-11 11:27:26     data = self.execute_step(step, steps_data)
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/api/mysql/mysql_proxy/classes/sql_query.py", line 873, in execute_step
2023-12-11 11:27:26     predictions = project_datanode.predict(
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/api/mysql/mysql_proxy/datahub/datanodes/project_datanode.py", line 66, in predict
2023-12-11 11:27:26     return handler.predict(model_name, data, project_name=self.project.name, version=version, params=params)
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/utilities/profiler/profiler.py", line 138, in wrapper
2023-12-11 11:27:26     result = function(*args, **kwargs)
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/utilities/functions.py", line 71, in wrapper
2023-12-11 11:27:26     return func(*args, **kwargs)
2023-12-11 11:27:26   File "/usr/local/lib/python3.10/site-packages/mindsdb/integrations/libs/ml_exec_base.py", line 289, in predict
2023-12-11 11:27:26     raise MLEngineException(msg) from e
2023-12-11 11:27:26 mindsdb.integrations.libs.ml_exec_base.MLEngineException: [langchain_engine/tool_based_agent]: setup_tools() missing 1 required positional argument: 'openai_api_key'

from mindsdb.

ZaKull avatar ZaKull commented on June 21, 2024

this commit fix this

58d92fc

from mindsdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.