Hey all! I'm working on using
CustomLLM
s for and when working through the tutorial here:
https://docs.llamaindex.ai/en/stable/module_guides/models/llms/usage_custom.html#example-using-a-custom-llm-model-advancedI am meet with the following error:
File "/root/.cache/pypoetry/virtualenvs/pa-MPXmvNdN-py3.11/lib/python3.11/site-packages/llama_index/indices/prompt_helper.py", line 117, in from_llm_metadata
context_window = llm_metadata.context_window
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'property' object has no attribute 'context_window'
I poked around the LLM and CustomLLM classes and things look OK at cursory glance and before I started digging in I wanted to see if anyone else faced this problem?