Hello everyone,
I recently instantiated a model on Hugging Face, but I’m encountering an issue when trying to use it. The error I’m receiving is as follows:
perlCopy code
ERROR | 'str object' has no attribute 'role'
I’ve looked through the documentation and forums, but I haven’t found a clear solution to this problem. Could anyone help me understand what’s causing this error and how I can fix it?
I appreciate any help or suggestions in advance.