From f497bcc4f6dca7daa639e1f69bbb4251be62ce76 Mon Sep 17 00:00:00 2001 From: sohamganatra Date: Fri, 7 Jun 2024 16:20:35 +0530 Subject: [PATCH] fix readme --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3a3b2cf853..b99ddf6183 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,6 @@ PyPI - - License - Downloads @@ -109,7 +106,7 @@ from openai import OpenAI from composio_openai import ComposioToolSet, App, Action openai_client = OpenAI( - api_key="**\*\***OPENAIKEY**\*\***" + api_key="{{OPENAIKEY}}" ) # Initialise the Composio Tool Set @@ -130,7 +127,7 @@ assistant = openai_client.beta.assistants.create( name="Personal Assistant", instructions=assistant_instruction, model="gpt-4-turbo", - tools=actions, # type: ignore + tools=actions, ) # create a thread @@ -150,7 +147,7 @@ run = openai_client.beta.threads.runs.create( # Execute Function calls -response_after_tool_calls = composio_toolset.wait_and_handle_assistant_tool_calls( +response_after_tool_calls = composio_tool_set.wait_and_handle_assistant_tool_calls( client=openai_client, run=run, thread=thread, @@ -202,7 +199,7 @@ Also go through our [Contribution Guidelines](https://github.com/composiodev/com ## 🛡️ License -Composio is licensed under the MIT License - see the [LICENSE](https://github.com/composiodev/composio/blob/master/LICENSE) file for details. +Composio is licensed under the Elastic License - see the [LICENSE](https://github.com/composiodev/composio/blob/master/LICENSE) file for details. ## 💪 Thanks To All Contributors