Skip to content

Commit

Permalink
Merge branch 'main' into darkmode
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgerrits authored Oct 18, 2024
2 parents c7b04c8 + 4935472 commit 032d1d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 239 deletions.
22 changes: 3 additions & 19 deletions python/packages/autogen-core/samples/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Examples
# Samples

This directory contains examples of how to use AutoGen core.
See [user guide](../docs/src/core-user-guide/guides/) and
[cookbooks](../docs/src/core-user-guide/cookbook/) for more examples.
This directory contains sample apps that use AutoGen Core API.
See [core user guide](../docs/src/user-guide/core-user-guide/) for notebook examples.

See [Running the examples](#running-the-examples) for instructions on how to run the examples.

Expand Down Expand Up @@ -48,18 +47,3 @@ For OpenAI API, you need to set the following environment variables.
export OPENAI_API_TYPE=openai
export OPENAI_API_KEY=your_openai_api_key
```

### Running

To run an example, just run the corresponding Python script. For example:

```bash
hatch shell
python core/one_agent_direct.py
```

Or simply:

```bash
hatch run python core/one_agent_direct.py
```
220 changes: 0 additions & 220 deletions python/packages/autogen-core/samples/coding_pub_sub.py

This file was deleted.

0 comments on commit 032d1d2

Please sign in to comment.