What's Changed
- Fix the bug that the `max_retries` doesn't work in `ReActAgent`
- Fix the bug that setting mutliple configurations with different dahscope api keys will result in only one api key taking effect
- Support nested Pydantic BaseModel objects within the parser
- Support token couting in AgentScope for OpenAI (both vision and non-vision llms), Gemini, DashScope APIs, and support to register token counting functions locally
- Fix bug in streaming mode
- Adjust the basic prompt engineering strategy within the format function to avoid misleading
- [Experimental]Add environment modules
Details
* Update paper list by pan-x-c in https://github.com/modelscope/agentscope/pull/440
* [Hot Fix] Add test for minimal dependencies by pan-x-c in https://github.com/modelscope/agentscope/pull/445
* Change the role to "user" in format function of ollama chat model by zhijianma in https://github.com/modelscope/agentscope/pull/443
* Remove something by rayrayraykk in https://github.com/modelscope/agentscope/pull/454
* Fix ut by rayrayraykk in https://github.com/modelscope/agentscope/pull/456
* Slove the format_map error in router_agent.py by yizhangliu in https://github.com/modelscope/agentscope/pull/436
* docs: add README_JA.md by eltociear in https://github.com/modelscope/agentscope/pull/455
* [Hot Fix] Fix stream text by pan-x-c in https://github.com/modelscope/agentscope/pull/461
* Make CACHE_DIR of agentscope studio configurable by rayrayraykk in https://github.com/modelscope/agentscope/pull/467
* [Hotfix] minor fix on embedding related bugs by ZiTao-Li in https://github.com/modelscope/agentscope/pull/463
* [HOTFIX] Fix the error in format function by adding system message by DavdGao in https://github.com/modelscope/agentscope/pull/472
* Minor fix on max_iters parameter passing bug by zzzmc in https://github.com/modelscope/agentscope/pull/464
* use model_dump instead of dict(*) in MarkdownJsonDictParse by wujiren in https://github.com/modelscope/agentscope/pull/471
* Add environment modules by pan-x-c in https://github.com/modelscope/agentscope/pull/378
* Fix typos in environment modules by pan-x-c in https://github.com/modelscope/agentscope/pull/474
* Support token counting for OpenAI, DashScope, Gemini and HuggingFace models by DavdGao in https://github.com/modelscope/agentscope/pull/470
* update dashscope version requirement by cmgzn in https://github.com/modelscope/agentscope/pull/477
* [HOTFIX] Fix the error when using multiple dashscope api keys by DavdGao in https://github.com/modelscope/agentscope/pull/478
* [Hotfix] change postAPI embedding model _parse_resonse to OpenAI format by ZiTao-Li in https://github.com/modelscope/agentscope/pull/479
New Contributors
* zzzmc made their first contribution in https://github.com/modelscope/agentscope/pull/464
* wujiren made their first contribution in https://github.com/modelscope/agentscope/pull/471
* cmgzn made their first contribution in https://github.com/modelscope/agentscope/pull/477
**Full Changelog**: https://github.com/modelscope/agentscope/compare/v0.1.0...v0.1.1