mirror of
https://github.com/simonw/llm-claude-3.git
synced 2025-01-23 19:28:29 +03:00
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
||||
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
python-version: "3.13"
|
||||
cache: pip
|
||||
cache-dependency-path: pyproject.toml
|
||||
- name: Install dependencies
|
||||
|
||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
||||
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
|
||||
@@ -14,14 +14,6 @@ Install this plugin in the same environment as [LLM](https://llm.datasette.io/).
|
||||
llm install llm-claude-3
|
||||
```
|
||||
|
||||
The plugin may fail to install on **Python 3.13** due to a dependency problem. A temporary workaround for that problem is to run this:
|
||||
|
||||
```bash
|
||||
llm install https://github.com/simonw/anthropic-sdk-python/archive/a6f35b4554b265d5e08c2bbe308dba65d1078cf5.zip
|
||||
llm install llm-claude-3
|
||||
```
|
||||
See [this issue](https://github.com/simonw/llm-claude-3/issues/16) for further details.
|
||||
|
||||
## Usage
|
||||
|
||||
First, set [an API key](https://console.anthropic.com/settings/keys) for Claude 3:
|
||||
|
||||
@@ -10,7 +10,7 @@ classifiers = [
|
||||
]
|
||||
dependencies = [
|
||||
"llm>=0.17",
|
||||
"anthropic>=0.37.1",
|
||||
"anthropic>=0.39.0",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
|
||||
Reference in New Issue
Block a user