#file name issue
1 messages · Page 1 of 1 (latest)
Could you share more context on the issue? any error logs, code snippets, os or any other details would be helpful to reproduce this issue.
from together import Together
from composio_openai import ComposioToolSet
client = Together(api_key="")
toolset = ComposioToolSet(api_key="", entity_id="")
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content":"What is the latest Mr.Beast youtube video about"},
]
Find relevant actions for our task
actions = toolset.find_actions_by_use_case(
"YOUTUBE",
use_case="What is the latest Mr.Beast youtube video about",
advanced=True,
)
Get the tools for these actions
tools = toolset.get_tools(actions=actions)
response = client.chat.completions.create(
model="meta-llama/Llama-3.2-3B-Instruct-Turbo",
tools=tools, # The tools we prepared earlier
messages=messages,
)
print(response)
This is my code
Wait let me share my error logs
File "D:\AGENTANALYTICS\waveflowallplatform\virtualenv\Lib\site-packages\composio\storage\base.py", line 67, in store
self.path.write_text(
File "C:\Users\nk683\AppData\Local\Programs\Python\Python312\Lib\pathlib.py", line 1047, in write_text
with self.open(mode='w', encoding=encoding, errors=errors, newline=newline) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\nk683\AppData\Local\Programs\Python\Python312\Lib\pathlib.py", line 1013, in open
return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument: 'C:\Users\nk683\.composio\tags\CRUSTDATA_COMPANY_DATASET_APIS_>_COMPANY_FUNDING_MILESTONES_TIMESERIES
This is my error
I am not able to send my whole error message
Can you check this
Please let me know, if you need any information from my side
Are there any updates
Hey, We pushed a fixed for this last night and should be working now. Can you give it a try again?