Skip to content

Commit ee7ef34

Browse files
committed
changing the order of the parameters
1 parent 1f3c93f commit ee7ef34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tool/providers/custom_provider.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ from docbinder_oss.services.base_class import ServiceConfig
1515
class MyProviderServiceConfig(ServiceConfig):
1616
type: str = "my_provider"
1717
name: str
18-
api_key: str
1918
# Add any other provider-specific fields here
19+
api_key: str
2020
```
2121

2222
- `type` must be unique and match the provider’s identifier.
@@ -94,8 +94,8 @@ Add your provider’s configuration to `~/.config/docbinder/config.yaml`:
9494
providers:
9595
- type: my_provider
9696
name: my_instance
97-
api_key: <your-api-key>
9897
# Add other required fields
98+
api_key: <your-api-key>
9999
```
100100
101101
---

0 commit comments

Comments
 (0)