mirror of
https://github.com/microsoft/autogen.git
synced 2025-09-26 08:34:10 +00:00
bump version to 0.1.11 (#242)
* bump version to 0.1.11 * fix format issue
This commit is contained in:
parent
6156faaa0a
commit
1394e29326
@ -89,7 +89,7 @@ from autogen import AssistantAgent, UserProxyAgent, config_list_from_json
|
|||||||
# See https://microsoft.github.io/autogen/docs/FAQ#set-your-api-endpoints
|
# See https://microsoft.github.io/autogen/docs/FAQ#set-your-api-endpoints
|
||||||
# and OAI_CONFIG_LIST_sample
|
# and OAI_CONFIG_LIST_sample
|
||||||
config_list = config_list_from_json(env_or_file="OAI_CONFIG_LIST")
|
config_list = config_list_from_json(env_or_file="OAI_CONFIG_LIST")
|
||||||
# You can also set config_list directly as a list, for example, config_list = [{'model': 'gpt-4', 'api_key': '<your OpenAI API key here>'},]
|
# You can also set config_list directly as a list, for example, config_list = [{'model': 'gpt-4', 'api_key': '<your OpenAI API key here>'},]
|
||||||
assistant = AssistantAgent("assistant", llm_config={"config_list": config_list})
|
assistant = AssistantAgent("assistant", llm_config={"config_list": config_list})
|
||||||
user_proxy = UserProxyAgent("user_proxy", code_execution_config={"work_dir": "coding"})
|
user_proxy = UserProxyAgent("user_proxy", code_execution_config={"work_dir": "coding"})
|
||||||
user_proxy.initiate_chat(assistant, message="Plot a chart of NVDA and TESLA stock price change YTD.")
|
user_proxy.initiate_chat(assistant, message="Plot a chart of NVDA and TESLA stock price change YTD.")
|
||||||
|
@ -1 +1 @@
|
|||||||
__version__ = "0.1.10"
|
__version__ = "0.1.11"
|
||||||
|
@ -14,11 +14,11 @@ conda install pyautogen -c conda-forge
|
|||||||
``` -->
|
``` -->
|
||||||
|
|
||||||
### Optional Dependencies
|
### Optional Dependencies
|
||||||
1. For the best user experience and seamless code execution, we highly recommend using Docker with AutoGen.
|
* docker
|
||||||
2. Docker is a containerization platform that simplifies the setup and execution of your code.
|
|
||||||
3. If you're working in a GitHub Codespace environment, AutoGen make a easy development in environment with Docker container, which is convenient to use.
|
|
||||||
|
|
||||||
To use docker for code execution, you also need to install the python package `docker`:
|
For the best user experience and seamless code execution, we highly recommend using Docker with AutoGen. Docker is a containerization platform that simplifies the setup and execution of your code. Developing in a docker container, such as GitHub Codespace, also makes the development convenient.
|
||||||
|
|
||||||
|
When running AutoGen out of a docker container, to use docker for code execution, you also need to install the python package `docker`:
|
||||||
```bash
|
```bash
|
||||||
pip install docker
|
pip install docker
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user