Skip to content

Commit

Permalink
removed stale files from python/examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sohamganatra committed Jul 22, 2024
1 parent 65b2ce7 commit d38bb33
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
9 changes: 8 additions & 1 deletion docs/introduction/foundations/howtos/get_api_key.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ icon: "gear"
description: "Get an API key to start using Composio"
---

<Note>
If you're using the Composio CLI, you can easily retrieve your API key by running the following command in your terminal:
`composio whoami`
</Note>

#### Login on composio.dev and Get the API Key

Expand All @@ -15,11 +19,14 @@ description: "Get an API key to start using Composio"


Keep the API key in a secure location, it will be used to authenticate your requests to the Composio API.
<Warning>
If you are using the CLI, you don't need to manually set the API key as the CLI manages authentication automatically.
</Warning>

#### Export to your environment

```bash
export COMPOSIO_API_KEY="your_api_key"
```

or you can also pass it while invoking composio toolset or client
or you can also pass it while invoking composio toolset or client.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
llm = ChatOpenAI(model="gpt-4-turbo")

while True:
main_task = input("Enter the task you want to perform (or type 'exit' to quit): ")
main_task = input("Enter any code execution task you want to perform (or type 'exit' to quit): ")
if main_task.lower() == "exit":
break

Expand Down
11 changes: 0 additions & 11 deletions python/examples/requirements.txt

This file was deleted.

0 comments on commit d38bb33

Please sign in to comment.