Closed hedonistrh closed 3 months ago
I think this error is gone once I install from source which is claudette 0.0.2
It seems a2b94d8 resolves this but the update hasn't yet been pushed to PyPI.
In the meantime, you can do pip install git+https://github.com/AnswerDotAI/claudette.git
I had the exact same issue but @petergchang 's recommended fix resolves that, but now we get the "No module named 'toolslm'" error:
ModuleNotFoundError Traceback (most recent call last) from claudette import *
----> 2 from .core import 3 from .toolloop import
File ~/.pyenv/versions/3.12.2/lib/python3.12/site-packages/claudette/core.py:17 14 from anthropic.types import Usage, TextBlock, Message, ToolUseBlock 15 from anthropic.resources import messages ---> 17 import toolslm 18 from toolslm.funccall import * 20 from fastcore import imghdr
ModuleNotFoundError: No module named 'toolslm'
This is easily resolved by pip install -U toolslm
both fixed in main - thanks!
Hey, thanks for great library. I tried to use it but getting some errors when I tried to run as following.
I am using following libraries with their versions attached.
Version of my python is