Hi,
I’ve got a paid account for chatGPT but not for its API which requires a separate subscription.
To run the exercises locally (L2 and L3), I changed the default model (chatGPT) to openhermes from Ollama.
from langchain.llms import Ollama
llm = Ollama(model=“openhermes”)
In each agent, I’ve added the additional attribute llm=llm to override the default chatGPT.
Exercise L2 worked straight away, but L3 displayed this error:
openai.RateLimitError: Error code: 429 - {‘error’: {‘message’: ‘You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.’, ‘type’: ‘insufficient_quota’, ‘param’: None, ‘code’: ‘insufficient_quota’}}
After debugging I determined that the attribute “memory” in crew is responsible - when I comment it out, L3 works with openhermes, but when I add it back, I get the error back, although I’m not using chatGPT.
Would you be able to give me a bit of help with this ?..