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

agentops.record_function #64

Open
fcichos opened this issue Apr 1, 2025 · 3 comments
Open

agentops.record_function #64

fcichos opened this issue Apr 1, 2025 · 3 comments

Comments

@fcichos
Copy link

fcichos commented Apr 1, 2025

Hi,

I just installed llamafs without any issue. Running its via

fastapi dev server.py

deliver the error:

AttributeError: module 'agentops' has no attribute ‘record_function'

in

loader.py:17 in

│ 14 from termcolor import colored
│ 15
│ 16
│ ❱ 17 @agentops.record_function("get directory summaries")
│ 18 async def get_dir_summaries(path: str):
│ 19 │ doc_dicts = load_documents(path)
│ 20 │ # metadata = process_metadata(doc_dicts)

Any idea how to fix that?

Best
Frank

@scottAQuinn
Copy link

Hi, did you manage to solve this? I'm running into the same problem with Python 3.10.5

@areibman
Copy link
Collaborator

areibman commented Apr 5, 2025

@fcichos @scottAQuinn Try downgrading to agentops==0.3.26

@scottAQuinn
Copy link

That fixed it for me, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants