llama-fs icon indicating copy to clipboard operation
llama-fs copied to clipboard

agentops.record_function

Open fcichos opened this issue 9 months ago • 3 comments

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

fcichos avatar Apr 01 '25 15:04 fcichos

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

scottie-aq avatar Apr 05 '25 17:04 scottie-aq

@fcichos @scottAQuinn Try downgrading to agentops==0.3.26

areibman avatar Apr 05 '25 18:04 areibman

That fixed it for me, thank you

scottie-aq avatar Apr 05 '25 20:04 scottie-aq