Skip to content

Commit

Permalink
bump anthropic-php
Browse files Browse the repository at this point in the history
  • Loading branch information
mozex committed May 1, 2024
1 parent 802a15a commit bd56e75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ using environment variables.
Blank environment variables for the Anthropic API key and organization id are already appended to your `.env` file.

```env
OPENAI_API_KEY=sk-...
OPENAI_ORGANIZATION=org-...
ANTHROPIC_API_KEY=sk-...
ANTHROPIC_ORGANIZATION=org-...
```

Finally, you may use the `Anthropic` facade to access the Anthropic API:
Expand Down Expand Up @@ -66,8 +66,8 @@ used to authenticate with the Anthropic API - you can find your API key
and organization on your Anthropic dashboard, at https://anthropic.com.

```env
OPENAI_API_KEY=
OPENAI_ORGANIZATION=
ANTHROPIC_API_KEY=
ANTHROPIC_ORGANIZATION=
```

### Request Timeout
Expand All @@ -76,7 +76,7 @@ The timeout may be used to specify the maximum number of seconds to wait
for a response. By default, the client will time out after 30 seconds.

```env
OPENAI_REQUEST_TIMEOUT=
ANTHROPIC_REQUEST_TIMEOUT=
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"php": "^8.1.0",
"guzzlehttp/guzzle": "^7.8.1",
"laravel/framework": "^9.46.0|^10.34.2|^11.0",
"mozex/anthropic-php": "^v1.0.0"
"mozex/anthropic-php": "^v1.0.1"
},
"require-dev": {
"laravel/pint": "^1.13.6",
Expand Down

0 comments on commit bd56e75

Please sign in to comment.