Find answers from the community

Updated 9 months ago

Hi @Logan M is the GmailOpenAIAgentPack

Hi @Logan M is the GmailOpenAIAgentPack named differently currently?
R
L
6 comments
Traceback (most recent call last):
File "C:\Users\ryanp\Desktop\Coding\private\clyd-final\agent.py", line 27, in <module>
GmailOpenAIAgentPack = download_llama_pack(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ryanp\anaconda3\envs\clyd_backend_new\Lib\site-packages\llama_index\core\llama_pack\download.py", line 56, in download_llama_pack
pack_cls = download_llama_pack_template(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ryanp\anaconda3\envs\clyd_backend_new\Lib\site-packages\llama_index\core\download\pack.py", line 115, in download_llama_pack_template
download_module_and_reqs(
File "C:\Users\ryanp\anaconda3\envs\clyd_backend_new\Lib\site-packages\llama_index\core\download\pack.py", line 52, in download_module_and_reqs
source_files = get_source_files_recursive(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ryanp\anaconda3\envs\clyd_backend_new\Lib\site-packages\llama_index\core\download\utils.py", line 136, in get_source_files_recursive
return recursive_tree_traverse(initial_tree_urls, [], source_tree_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ryanp\anaconda3\envs\clyd_backend_new\Lib\site-packages\llama_index\core\download\utils.py", line 111, in recursive_tree_traverse
raise ValueError("Failed to traverse github tree source.")
ValueError: Failed to traverse github tree source.
thats odd

Use pip install instead

pip install llama-index-packs-gmail-openai-agent

from llama_index.packs.gmail_openai_agent import GmailOpenaiAgentPack
@Logan M Traceback (most recent call last):
File "C:\Users\ryanp\Desktop\Coding\private\clyd-final\agent.py", line 28, in <module>
gmail_agent_pack = GmailOpenAIAgentPack()
^^^^^^^^^^^^^^^^^^^^^^
TypeError: GmailOpenAIAgentPack.init() missing 1 required positional argument: 'gmail_tool_kwargs'

what arguments are needed for the packs?
just pass an empty dict
Add a reply
Sign up and join the conversation on Discord