Closed NehemiaR closed 1 year ago
After pip installing properly I tried creating a client as described so I can further test, but immediatly I got an error:
import vercel_ai client = vercel_ai.Client()
AttributeError Traceback (most recent call last) in <cell line: 2>() 1 import vercel_ai ----> 2 client = vercel_ai.Client()
/usr/local/lib/python3.10/dist-packages/vercel_ai.py in init(self, proxy) 40 41 self.models = self.get_models() ---> 42 self.model_ids = list(self.models.keys()) 43 self.model_defaults = {} 44 for model_id in self.models:
AttributeError: 'list' object has no attribute 'keys'
Checked in Anaconda and in Google Colab, same error.
Duplicate of #10.
After pip installing properly I tried creating a client as described so I can further test, but immediatly I got an error:
import vercel_ai client = vercel_ai.Client()
AttributeError Traceback (most recent call last) in <cell line: 2>()
1 import vercel_ai
----> 2 client = vercel_ai.Client()
/usr/local/lib/python3.10/dist-packages/vercel_ai.py in init(self, proxy) 40 41 self.models = self.get_models() ---> 42 self.model_ids = list(self.models.keys()) 43 self.model_defaults = {} 44 for model_id in self.models:
AttributeError: 'list' object has no attribute 'keys'
Checked in Anaconda and in Google Colab, same error.