Skip to content

Commit 48e61f5

Browse files
chore(model): add user agent request header to model request (#199)
* chore(model): add user agent request header to model request * add installation method to README.md
1 parent c750ce4 commit 48e61f5

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ A [tutorial](https://github.com/volcengine/veadk-python/blob/main/veadk_tutorial
1515

1616
## Installation
1717

18+
### From PyPI
19+
20+
```python
21+
pip install veadk-python
22+
23+
# install extensions
24+
pip install veadk-python[extensions]
25+
```
26+
27+
### Build from source
28+
1829
We use `uv` to build this project ([how-to-install-uv](https://docs.astral.sh/uv/getting-started/installation/)).
1930

2031
```bash

veadk/consts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"x-is-encrypted": getenv("MODEL_AGENT_ENCRYPTED", "true"),
2828
"veadk-source": "veadk",
2929
"veadk-version": VERSION,
30+
"User-Agent": f"VeADK/{VERSION}",
3031
},
3132
"extra_body": {
3233
"caching": {

0 commit comments

Comments
 (0)