Skip to content

Commit 5612f60

Browse files
committed
docs: update VitePress config and add model config reference
- Update VitePress config to use environment variable for website ID - Add reference to model configuration guide in quick-start documentation - Correct URL in model configuration documentation These changes improve the clarity and accuracy of the documentation, ensuring that users can properly configure the website and understand how to set up models.
1 parent 0d0559e commit 5612f60

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

docs/.vitepress/config.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { defineConfig } from 'vitepress'
2+
import { env } from 'process'
23

34
// https://vitepress.dev/reference/site-config
45
export default defineConfig({
@@ -10,7 +11,7 @@ export default defineConfig({
1011
'script',
1112
{
1213
defer: 'true',
13-
'data-website-id': '77d0dd59-9095-463b-a317-b49b373af92d',
14+
'data-website-id': env.UMAMI_WEBSITE_ID,
1415
src: 'https://umami.zeeland.top/script.js'
1516
}
1617
],

docs/guide/quick-start.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Before you begin, ensure you have the following:
4040
api_key: your_api_key
4141
```
4242
43+
How to config your model? Please refer to [How to Config Model](../how-to-config-model.md)
44+
4345
The `config.yaml` file will be stored in:
4446
- Windows: `%USERPROFILE%\.gcop\config.yaml`
4547
- Linux: `~/.gcop/config.yaml`

docs/how-to-config-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ model:
7878

7979
## More models
8080

81-
gcop use [promptulate](https://github.com/Undertone0809/promptulate) standard to name the model. You can see how to write your model name in [here](https://www.promptulate.cn/#/other/how_to_write_model_name?id=how-to-write-model-name).
81+
gcop use [promptulate](https://github.com/Undertone0809/promptulate) standard to name the model. You can see how to write your model name in [here](https://www.promptulate.cn/other/how_to_write_model_name.html).
8282

8383
promptulate integrates litellm's capabilities and model name standards, so if you want to use any model, you can go directly to the [litellm](https://docs.litellm.ai/docs/) website to view the model name and then use it in promptulate.

0 commit comments

Comments
 (0)