You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错返回如下:[INFO:ms_agent] Replacing openai_api_key with extra value.
[INFO:ms_agent] Replacing openai_base_url with extra value.
[WARNING:ms_agent] Traceback (most recent call last):
File "/opt/ms-agent/ms_agent/agent/llm_agent.py", line 606, in run_loop
self.register_callback_from_config()
File "/opt/ms-agent/ms_agent/agent/llm_agent.py", line 195, in register_callback_from_config
self.callbacks.append(cls(self.config)) # noqa
File "/opt/ms-agent/projects/fin_research/callbacks/orchestrator_callback.py", line 21, in init
self.file_system = FileSystemTool(config)
File "/opt/ms-agent/ms_agent/tools/filesystem_tool.py", line 59, in init
if hasattr(self.config.tools.file_system, 'system_for_abbreviations'):
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 355, in getattr
self._format_and_raise(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/base.py", line 231, in _format_and_raise
format_and_raise(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/_utils.py", line 899, in format_and_raise
_raise(ex, cause)
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 351, in getattr
return self._get_impl(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 442, in _get_impl
node = self._get_child(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/basecontainer.py", line 73, in _get_child
child = self._get_node(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 480, in _get_node
raise ConfigKeyError(f"Missing key {key!s}")
omegaconf.errors.ConfigAttributeError: Missing key file_system
full_key: tools.file_system
object_type=dict
Traceback (most recent call last):
File "/opt/ms-agent/ms_agent/cli/cli.py", line 33, in
run_cmd()
File "/opt/ms-agent/ms_agent/cli/cli.py", line 29, in run_cmd
cmd.execute()
File "/opt/ms-agent/ms_agent/cli/run.py", line 148, in execute
asyncio.run(engine.run(self.args.query))
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/opt/ms-agent/ms_agent/workflow/dag_workflow.py", line 97, in run
result = await engine.run(task_input)
File "/opt/ms-agent/ms_agent/agent/llm_agent.py", line 681, in run
async for chunk in self.run_loop(messages=messages, **kwargs):
File "/opt/ms-agent/ms_agent/agent/llm_agent.py", line 662, in run_loop
raise e
File "/opt/ms-agent/ms_agent/agent/llm_agent.py", line 606, in run_loop
self.register_callback_from_config()
File "/opt/ms-agent/ms_agent/agent/llm_agent.py", line 195, in register_callback_from_config
self.callbacks.append(cls(self.config)) # noqa
File "/opt/ms-agent/projects/fin_research/callbacks/orchestrator_callback.py", line 21, in init
self.file_system = FileSystemTool(config)
File "/opt/ms-agent/ms_agent/tools/filesystem_tool.py", line 59, in init
if hasattr(self.config.tools.file_system, 'system_for_abbreviations'):
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 355, in getattr
self._format_and_raise(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/base.py", line 231, in _format_and_raise
format_and_raise(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/_utils.py", line 899, in format_and_raise
_raise(ex, cause)
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 351, in getattr
return self._get_impl(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 442, in _get_impl
node = self._get_child(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/basecontainer.py", line 73, in _get_child
child = self._get_node(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 480, in _get_node
raise ConfigKeyError(f"Missing key {key!s}")
omegaconf.errors.ConfigAttributeError: Missing key file_system
full_key: tools.file_system
object_type=dict
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
报错返回如下:[INFO:ms_agent] Replacing openai_api_key with extra value.
[INFO:ms_agent] Replacing openai_base_url with extra value.
[WARNING:ms_agent] Traceback (most recent call last):
File "/opt/ms-agent/ms_agent/agent/llm_agent.py", line 606, in run_loop
self.register_callback_from_config()
File "/opt/ms-agent/ms_agent/agent/llm_agent.py", line 195, in register_callback_from_config
self.callbacks.append(cls(self.config)) # noqa
File "/opt/ms-agent/projects/fin_research/callbacks/orchestrator_callback.py", line 21, in init
self.file_system = FileSystemTool(config)
File "/opt/ms-agent/ms_agent/tools/filesystem_tool.py", line 59, in init
if hasattr(self.config.tools.file_system, 'system_for_abbreviations'):
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 355, in getattr
self._format_and_raise(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/base.py", line 231, in _format_and_raise
format_and_raise(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/_utils.py", line 899, in format_and_raise
_raise(ex, cause)
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 351, in getattr
return self._get_impl(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 442, in _get_impl
node = self._get_child(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/basecontainer.py", line 73, in _get_child
child = self._get_node(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 480, in _get_node
raise ConfigKeyError(f"Missing key {key!s}")
omegaconf.errors.ConfigAttributeError: Missing key file_system
full_key: tools.file_system
object_type=dict
Traceback (most recent call last):
File "/opt/ms-agent/ms_agent/cli/cli.py", line 33, in
run_cmd()
File "/opt/ms-agent/ms_agent/cli/cli.py", line 29, in run_cmd
cmd.execute()
File "/opt/ms-agent/ms_agent/cli/run.py", line 148, in execute
asyncio.run(engine.run(self.args.query))
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/opt/ms-agent/ms_agent/workflow/dag_workflow.py", line 97, in run
result = await engine.run(task_input)
File "/opt/ms-agent/ms_agent/agent/llm_agent.py", line 681, in run
async for chunk in self.run_loop(messages=messages, **kwargs):
File "/opt/ms-agent/ms_agent/agent/llm_agent.py", line 662, in run_loop
raise e
File "/opt/ms-agent/ms_agent/agent/llm_agent.py", line 606, in run_loop
self.register_callback_from_config()
File "/opt/ms-agent/ms_agent/agent/llm_agent.py", line 195, in register_callback_from_config
self.callbacks.append(cls(self.config)) # noqa
File "/opt/ms-agent/projects/fin_research/callbacks/orchestrator_callback.py", line 21, in init
self.file_system = FileSystemTool(config)
File "/opt/ms-agent/ms_agent/tools/filesystem_tool.py", line 59, in init
if hasattr(self.config.tools.file_system, 'system_for_abbreviations'):
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 355, in getattr
self._format_and_raise(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/base.py", line 231, in _format_and_raise
format_and_raise(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/_utils.py", line 899, in format_and_raise
_raise(ex, cause)
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 351, in getattr
return self._get_impl(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 442, in _get_impl
node = self._get_child(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/basecontainer.py", line 73, in _get_child
child = self._get_node(
File "/home/ubuntu/anaconda3/envs/msagent/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 480, in _get_node
raise ConfigKeyError(f"Missing key {key!s}")
omegaconf.errors.ConfigAttributeError: Missing key file_system
full_key: tools.file_system
object_type=dict
Beta Was this translation helpful? Give feedback.
All reactions