This repository was archived by the owner on Oct 24, 2024. It is now read-only.
generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5eb66e
commit fe4a330
Showing
28 changed files
with
308 additions
and
657 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
github: :vendor_name | ||
github: Greg Priday |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Ask a question | ||
url: https://github.com/:vendor_name/:package_name/discussions/new?category=q-a | ||
url: https://github.com/Greg Priday/laravel-claude-chat/discussions/new?category=q-a | ||
about: Ask the community for help | ||
- name: Request a feature | ||
url: https://github.com/:vendor_name/:package_name/discussions/new?category=ideas | ||
url: https://github.com/Greg Priday/laravel-claude-chat/discussions/new?category=ideas | ||
about: Share ideas for new features | ||
- name: Report a security issue | ||
url: https://github.com/:vendor_name/:package_name/security/policy | ||
url: https://github.com/Greg Priday/laravel-claude-chat/security/policy | ||
about: Learn how to notify us for sensitive bugs |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
# Changelog | ||
|
||
All notable changes to `:package_name` will be documented in this file. | ||
All notable changes to Laravel Claude Chat will be documented in this file. | ||
|
||
## 0.1.0 - 2024-03-15 | ||
|
||
### Added | ||
- Initial release of the Laravel Claude Chat package 🎉 | ||
- `ClaudeChat` class for sending requests to the Claude API | ||
- `create` method for sending custom requests to the Claude API | ||
- `createJson` method for retrieving JSON responses from the Claude API | ||
- `ClaudeChatServiceProvider` for registering the package with Laravel | ||
- `ClaudeModels` class for storing constant values of Claude models | ||
- `ClaudeChat` facade for convenient access to the `ClaudeChat` class | ||
- Configuration file for setting the Claude API key, endpoint, request timeout, and retry parameters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
// config for GregPriday/ClaudeChat | ||
return [ | ||
'api_key' => env('CLAUDE_API_KEY'), | ||
'endpoint' => env('CLAUDE_ENDPOINT', 'https://api.anthropic.com/v1/messages'), | ||
'request_timeout' => env('CLAUDE_REQUEST_TIMEOUT', 30), | ||
'retry' => [ | ||
'retries' => 5, | ||
'retry_on_status' => [429, 500, 502, 503, 504], | ||
'retry_on_timeout' => true, | ||
'delay' => 1000, | ||
'multiplier' => 2, | ||
'max_delay' => 10000, | ||
], | ||
]; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.