Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Add gif to contrib guide
Tomas Valentae740fbd2e488
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex c52459529..bf66aad7e 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -22,7 +22,7 @@ Here is an [example code for adding a new provider](./NEW_PROVIDER_EXAMPLE.md).The new provider integrations should be placed in `api-service/models/providers/`.## Provider integrations-We use [LangChain](https://github.com/hwchase17/langchain) under the hood, so if you are adding a new integration you have to implement the `BaseLanguageModel` class. That means just implementing the `_acall` async method that calls the model with a prompt and returns the output.+We use [LangChain](https://github.com/hwchase17/langchain) under the hood, so if you are adding a new integration you have to implement the `BaseLanguageModel` class. That means implementing the `_acall` async method that calls the model with a prompt and returns the output. We then use this method for calling the model.### **Using [LangChain](https://python.langchain.com/en/latest/modules/models/llms/integrations.html) integration**You can often use existing LangChain integrations to add new model providers to e2b with just a few modifications.@@ -67,4 +67,8 @@ class NewModelProviderWithStreaming(LLM):```## 3. Test-Test if the provider works by starting the app, selecting the provider and model in the "Model" sidebar menu and trying to "Run" it. Then add a screenshot of agent steps to the PR.+Test if the provider works by starting the app, selecting the provider and model in the "Model" sidebar menu and trying to "Run" it.++++Then add a screenshot of agent's steps to the PR.diff --git a/gifs/change-model.gif b/gifs/change-model.gifnew file mode 100644index 000000000..ca3cb49f8Binary files /dev/null and b/gifs/change-model.gif differ