docs: fix provider display name and PAT typos (#42034)
Co-authored-by: skyzhao1223 <skyzhao1223@users.noreply.github.com>
This commit is contained in:
@@ -97,7 +97,7 @@ Or you can set it up manually.
|
|||||||
issues: write
|
issues: write
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also use a [personal access tokens](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)(PAT) if preferred.
|
You can also use a [personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)(PAT) if preferred.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -2487,7 +2487,7 @@ You can use any OpenAI-compatible provider with opencode. Most modern AI provide
|
|||||||
"provider": {
|
"provider": {
|
||||||
"myprovider": {
|
"myprovider": {
|
||||||
"npm": "@ai-sdk/openai-compatible",
|
"npm": "@ai-sdk/openai-compatible",
|
||||||
"name": "My AI ProviderDisplay Name",
|
"name": "My AI Provider Display Name",
|
||||||
"options": {
|
"options": {
|
||||||
"baseURL": "https://api.myprovider.com/v1"
|
"baseURL": "https://api.myprovider.com/v1"
|
||||||
},
|
},
|
||||||
@@ -2525,7 +2525,7 @@ Here's an example setting the `apiKey`, `headers`, and model `limit` options.
|
|||||||
"provider": {
|
"provider": {
|
||||||
"myprovider": {
|
"myprovider": {
|
||||||
"npm": "@ai-sdk/openai-compatible",
|
"npm": "@ai-sdk/openai-compatible",
|
||||||
"name": "My AI ProviderDisplay Name",
|
"name": "My AI Provider Display Name",
|
||||||
"options": {
|
"options": {
|
||||||
"baseURL": "https://api.myprovider.com/v1",
|
"baseURL": "https://api.myprovider.com/v1",
|
||||||
"apiKey": "{env:ANTHROPIC_API_KEY}",
|
"apiKey": "{env:ANTHROPIC_API_KEY}",
|
||||||
|
|||||||
Reference in New Issue
Block a user