Commit graph

42 commits

Author SHA1 Message Date
code-c-light
e32a2498f9
feat: support file parsing function (#42)
Co-authored-by: mengqian <cherish_a_meng@163.com>
2025-10-21 16:55:19 +08:00
Tomsun28
d0c8ad2ed9
chore: add stream tools example (#41) 2025-10-14 18:25:58 +08:00
haiyang jin
b0fe0fc11e
feat: tool stream param (#40)
Co-authored-by: Tomsun28 <tomsun28@outlook.com>
2025-09-30 15:05:29 +08:00
iceAndFireisFailed
ed4c6233c4
feat: new release tag (#39)
Co-authored-by: yuhongxiao <hongxiao.yu@aminer.cn>
2025-09-29 17:01:28 +08:00
iceAndFireisFailed
d986b27ea9
feat: new version (#38)
Co-authored-by: yuhongxiao <hongxiao.yu@aminer.cn>
2025-09-29 16:49:31 +08:00
iceAndFireisFailed
6bb2c1b500
feat: add stream response in audio (#37)
Co-authored-by: yuhongxiao <hongxiao.yu@aminer.cn>
2025-09-28 15:59:16 +08:00
iceAndFireisFailed
0cde756e1c
feat: add encode_format to function audio.speech (#36)
Co-authored-by: yuhongxiao <hongxiao.yu@aminer.cn>
2025-09-28 12:26:09 +08:00
Tom
601cbd12d7
feat: search support images return (#35)
Co-authored-by: jinhaiyang <haiyang.jin@aminer.cn>
2025-09-22 10:51:52 +08:00
iceAndFireisFailed
372d99cc4d
feat: add tts param volume and speed (#34)
Co-authored-by: yuhongxiao <hongxiao.yu@aminer.cn>
Co-authored-by: Tom <tomsun28@outlook.com>
2025-09-09 19:28:41 +08:00
Tom
e7e2af0727
fix: update dependency pyjwt version scope (#33) 2025-09-09 18:52:42 +08:00
Lighthousexx
7d30990e53
feat: voiceclone implement comprehensive voice cloning service with full API support (#29)
Co-authored-by: tomsun28 <tomsun28@outlook.com>
2025-09-09 10:13:21 +08:00
zhaojiaqi286
67639ae83e
feat: support video off_peak param (#31)
Co-authored-by: jinhaiyang <haiyang.jin@aminer.cn>
2025-09-01 15:54:13 +08:00
cuijianmin98
ab6128d584
feat: add watermark param (#28)
Co-authored-by: cuijianmin <jianmin.cui@aminer.cn>
Co-authored-by: wellenzheng <40078093+wellenzheng@users.noreply.github.com>
2025-08-18 14:25:24 +08:00
Lighthousexx
9c4860ac59
feat: chatCompletion with mcp example (#27) 2025-08-15 10:49:02 +08:00
wellenzheng
2645c01967
fix: import statements for ZaiClient in batches and files (#26)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-08-14 18:37:54 +08:00
wellenzheng
82e09d6ee9
feat: modeldump and usage support (#25)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-08-07 18:21:57 +08:00
wellenzheng
49ca5af5cb
chore: update version to 0.0.3 and refactor ZaiSampler error handling (#24)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-08-05 17:55:38 +08:00
wellenzheng
47dc7ca5c0
chore: add workflow_dispatch input in test_relealse (#23)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-08-04 11:49:48 +08:00
wellenzheng
d98e87cb36
fix: client close graceful (#22)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-08-04 11:18:57 +08:00
wellenzheng
42d6cc34d1
chore: readme and china region api base url (#21)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-27 15:05:59 +08:00
wellenzheng
8370fa0f04
chore: update version to 0.0.1 and adjust Python version requirement (#20)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-27 14:26:02 +08:00
wellenzheng
e8a26d53e4
chore: lint fix and test coverage (#19)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-27 14:03:32 +08:00
wellenzheng
f6ec3f2189
chore: thinking (#18)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-26 17:52:00 +08:00
wellenzheng
508eaf4f4c
fix: video example, remove finetuning\knowledge\document module (#17)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-26 11:21:48 +08:00
haiyang jin
d344be2ca2
Merge pull request #16 from THUDM/feature/glm-4.5
feat: Feature/glm 4.5
2025-07-25 14:28:15 +08:00
jinhaiyang
cae0578927 glm-4.5 model 2025-07-25 13:49:00 +08:00
jinhaiyang
0a19179428 Merge branch 'main' into feature/glm-4.5 2025-07-25 13:45:49 +08:00
wellenzheng
010acdd2d4
feat: update version to 0.0.1b2 in pyproject.toml (#15)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-23 17:47:00 +08:00
wellenzheng
eb49b8c06c
fix: improve type hint for image_url in video_create_params.py (#14)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-23 17:04:00 +08:00
wellenzheng
b4ff07c158
feat: add zhipuclient (#13)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-23 15:22:48 +08:00
wellenzheng
ee0a2b3e4c
feat: switchtozhipu (#12)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-23 11:53:32 +08:00
wellenzheng
42a921e770
fix: video params (#11)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-23 11:36:48 +08:00
wellenzheng
7562c00dae
fix: update video generation params and examples (#10)
Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-22 17:23:32 +08:00
jinhaiyang
ad7af2d6e2 glm-4.5 model 2025-07-22 16:46:04 +08:00
wellenzheng
6ffee13759
feat: add example (#9)
authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-22 10:26:51 +08:00
wellenzheng
624ad13163
fix: README.md (#7)
Co-authored-by: tomsun28 <tomsun28@outlook.com>
2025-07-14 17:16:09 +08:00
wellenzheng
a5114dd5e2
fix: README_CN.md (#8) 2025-07-14 17:14:59 +08:00
wellenzheng
a5f625f902
fix: modulename (#6)
* fix(release): correct package import name transformation

Remove incorrect sed replacement that transformed all dashes to underscores. Instead, only remove '-sdk' suffix from package names to match actual Python import conventions.

* readme

---------

Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-14 16:53:14 +08:00
wellenzheng
74baa1542c
fix: update package name and version, improve code comments (#5)
* refactor: update package name and version, improve code comments

Update package name from 'z-ai' to 'z-ai-sdk' and version to 0.0.1a1
Improve code comments in CodeGeexParams by making them more concise and moving attribute docs inline

* docs(code_geex): improve type docstrings for better clarity

Move docstrings from inline comments to class-level and add attributes section

---------

Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-14 15:24:00 +08:00
wellenzheng
81cffb6cc4
feat: translate and enrich doc (#3)
* init

* enrich doc

* init

* init

* init

* doc

* chore: remove deprecated email field from pyproject.toml

* feat: translate content from Chinese to English and update documentation

This commit translates all Chinese text content in the codebase to English, including:
- Test messages and prompts
- Error messages
- Documentation strings
- API parameter descriptions
- README and release notes content

The changes ensure consistency in language usage across the entire project while maintaining all functionality. Documentation has been updated to reflect these changes and provide clearer English descriptions of features and usage.

* refactor: update branding from ZaiClient to Z.ai

Update SDK name in README and HTTP headers to reflect new branding. Also update endpoint references in type definitions.

* ci: allow spaces in PR commit message subject pattern

---------

Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-11 15:20:27 +08:00
wellenzheng
e6a02cb90d
Init repo
* init

* enrich doc

* init

* init

* init

* doc

* chore: remove deprecated email field from pyproject.toml

---------

Co-authored-by: zhengweijun <weijun.zheng@aminer.cn>
2025-07-11 11:46:51 +08:00
wellenzheng
5a4affeccf
Initial commit 2025-07-01 19:15:24 +08:00