Skip to content

Commit

Permalink
Rename references to AutoGen
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgerrits committed Oct 7, 2024
1 parent be5c0b5 commit b7ae47b
Show file tree
Hide file tree
Showing 16 changed files with 22 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-outside-of-docker-compose
{
"name": "agnext devcontainer",
"name": "AutoGen devcontainer",
"dockerComposeFile": "docker-compose.yml",
"service": "devcontainer",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageId>AutoGen.Worker.Client</PackageId>
<PackageProjectUrl>https://github.com/microsoft/agnext</PackageProjectUrl>
<PackageProjectUrl>https://github.com/microsoft/autogen</PackageProjectUrl>
<Authors>Microsoft</Authors>
<Description>AutoGen Worker Client Library</Description>
<Tags>ai-agents;event-driven-agents</Tags>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageId>AutoGen.Worker.Server</PackageId>
<PackageProjectUrl>https://github.com/microsoft/agnext</PackageProjectUrl>
<PackageProjectUrl>https://github.com/microsoft/autogen</PackageProjectUrl>
<Authors>Microsoft</Authors>
<Description>AutoGen Worker Server Library</Description>
<Tags>ai-agents;event-driven-agents</Tags>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageId>AutoGen.Core</PackageId>
<PackageProjectUrl>https://github.com/microsoft/agnext</PackageProjectUrl>
<PackageProjectUrl>https://github.com/microsoft/autogen</PackageProjectUrl>
<Authors>Microsoft</Authors>
<Description>AutoGenn Core Library</Description>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions python/packages/autogen-core/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AutoGen Core

- [Documentation](http://microsoft.github.io/agnext)
- [Examples](https://github.com/microsoft/agnext/tree/main/python/packages/autogen-core/samples)
- [Documentation](http://microsoft.github.io/autogen)
- [Examples](https://github.com/microsoft/autogen/tree/main/python/packages/autogen-core/samples)

## Package layering

Expand Down
2 changes: 1 addition & 1 deletion python/packages/autogen-core/docs/drawio/layers.drawio
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<mxCell id="e_Se_iOjKQHndGvTYtJ0-6" value="Multi-Agent Applications" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="170" y="183" width="240" height="50" as="geometry" />
</mxCell>
<mxCell id="e_Se_iOjKQHndGvTYtJ0-10" value="AGNext" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxCell id="e_Se_iOjKQHndGvTYtJ0-10" value="AutoGen" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="260" y="436" width="60" height="30" as="geometry" />
</mxCell>
</root>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "agnext",
"display_name": "autogen",
"language": "python",
"name": "python3"
},
Expand Down
4 changes: 2 additions & 2 deletions python/packages/autogen-core/docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
},
{
"name": "GitHub",
"url": "https://github.com/microsoft/agnext",
"url": "https://github.com/microsoft/autogen",
"icon": "fa-brands fa-github",
},
{
Expand All @@ -111,7 +111,7 @@
html_context = {
'display_github': True,
"github_user": "microsoft",
"github_repo": "agnext",
"github_repo": "autogen",
"github_version": "main",
"doc_path": "python/packages/autogen-core/docs/src/",
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
"## Using the Agent\n",
"\n",
"First we need to use the `openai` client to create the actual assistant,\n",
"thread, and vector store. Our AGNext agent will be using these."
"thread, and vector store. Our autogen agent will be using these."
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,9 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"CommandLineCodeResult(exit_code=0, output='Hello, World!\\n', code_file='/home/ekzhu/agnext/python/packages/autogen-core/docs/src/guides/coding/tmp_code_07da107bb575cc4e02b0e1d6d99cc204.py')\n"
]
}
],
"outputs": [],
"source": [
"from pathlib import Path\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "agnext",
"display_name": "autogen",
"language": "python",
"name": "python3"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "agnext",
"display_name": "autogen",
"language": "python",
"name": "python3"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "agnext",
"display_name": "autogen",
"language": "python",
"name": "python3"
},
Expand Down
10 changes: 5 additions & 5 deletions python/packages/autogen-core/docs/src/packages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pip install autogen-agentchat==0.4.0dev0
This package is a work in progress, it will be available on PyPI when it is ready.
```

[{fas}`file-code;pst-color-primary` API Reference](/reference/python/autogen_agentchat/autogen_agentchat.rst) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/agnext/tree/main/python/packages/autogen-agentchat)
[{fas}`file-code;pst-color-primary` API Reference](/reference/python/autogen_agentchat/autogen_agentchat.rst) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/autogen/tree/main/python/packages/autogen-agentchat)
:::

(pkg-info-autogen-core)=
Expand All @@ -52,7 +52,7 @@ pip install autogen-core==0.4.0dev0
```{note}
This package is a work in progress, it will be available on PyPI when it is ready.
```
[{fas}`file-code;pst-color-primary` API Reference](/reference/python/autogen_core/autogen_core.rst) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/agnext/tree/main/python/packages/autogen-core)
[{fas}`file-code;pst-color-primary` API Reference](/reference/python/autogen_core/autogen_core.rst) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/autogen/tree/main/python/packages/autogen-core)
:::

(pkg-info-autogen-ext)=
Expand All @@ -70,7 +70,7 @@ pip install autogen-ext==0.4.0dev0
This package is a work in progress, it will be available on PyPI when it is ready.
```

[{fas}`file-code;pst-color-primary` API Reference](/reference/python/autogen_ext/autogen_ext.rst) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/agnext/tree/main/python/packages/autogen-ext)
[{fas}`file-code;pst-color-primary` API Reference](/reference/python/autogen_ext/autogen_ext.rst) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/autogen/tree/main/python/packages/autogen-ext)
:::

(pkg-info-autogen-team-one)=
Expand All @@ -88,7 +88,7 @@ pip install autogen-team-one==0.1.0dev0
This package is a work in progress, it will be available on PyPI when it is ready.
```

[{fas}`file-code;pst-color-primary` API Reference](/reference/index.md) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/agnext/tree/main/python/packages/team-one)
[{fas}`file-code;pst-color-primary` API Reference](/reference/index.md) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/autogen/tree/main/python/packages/team-one)
:::

(pkg-info-autogenbench)=
Expand All @@ -102,5 +102,5 @@ AutoGenBench is a tool for repeatedly running pre-defined AutoGen tasks in tight
pip install autogenbench
```

[{fab}`python;pst-color-primary` PyPI](https://pypi.org/project/autogenbench/) | [{fas}`file-code;pst-color-primary` API Reference](/reference/index.md) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/agnext/tree/main/python/packages/agbench)
[{fab}`python;pst-color-primary` PyPI](https://pypi.org/project/autogenbench/) | [{fas}`file-code;pst-color-primary` API Reference](/reference/index.md) | [{fab}`github;pst-color-primary` Source](https://github.com/microsoft/autogen/tree/main/python/packages/agbench)
:::
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ def get_span_kind(
else:
return SpanKind.CLIENT

# TODO: Once we figure out how the destinations are stringified, we can use that convention
# https://github.com/microsoft/agnext/issues/399
# TODO: TODO: adopt cannonical str representation
def _get_destination_str(self, destination: MessagingDestination) -> str:
if isinstance(destination, AgentId):
return f"{destination.type}.({destination.key})-A"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ def unregister(self, func: t.Callable[..., t.Any], /, **kwargs: t.Any) -> None:
asyncio_atexit.unregister(func, loop=loop) # type: ignore


# From Issue #584: No EventLoop error when agents exit.
# see: https://github.com/microsoft/agnext/issues/584


# This is a minimal implementation of a component that requires cleanup on exit.
class CleanupComponent:
def __init__(self, atexit_impl: AtExitImpl, use_async_cleanup: bool) -> None:
Expand Down

0 comments on commit b7ae47b

Please sign in to comment.