Spaces:
Running
Running
Use my own E2B key
#2
by
entityinarray
- opened
it looks like E2B is not connecting anymore, probably due to quota
would it be possible to allow user to use their own E2B key?
The Space should be fully operational now.
To use your own E2B key, you can duplicate the repository, set E2B_API_KEY and HF_TOKEN secrets, and update this snippet in cua2-core/src/cua2_core/services/agent_utils/get_model.py:
From
13 return InferenceClientModel(bill_to="smolagents", model_id=model_id)
to
13 return InferenceClientModel(model_id=model_id)