Skip to content

Commit

Permalink
Update references to autogen (#3708)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgerrits authored Oct 9, 2024
1 parent 2526c69 commit 6567d90
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 16 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
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
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 @@ -33,7 +33,7 @@ pip install autogen-agentchat==0.4.0dev0
```


[{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 @@ -48,7 +48,7 @@ Implements the core functionality of the AutoGen framework, providing basic buil
pip install autogen-core==0.4.0dev0
```

[{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 @@ -63,7 +63,7 @@ Implementations of core components that interface with external services, or use
pip install autogen-ext==0.4.0dev0
```

[{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-magentic-one)=
Expand All @@ -78,7 +78,7 @@ A generalist multi-agent softbot utilizing five agents to tackle intricate tasks
pip install autogen-magentic-one==0.1.0dev0
```

[{fab}`github;pst-color-primary` Source](https://github.com/microsoft/agnext/tree/main/python/packages/autogen-magentic-one)
[{fab}`github;pst-color-primary` Source](https://github.com/microsoft/autogen/tree/main/python/packages/autogen-magentic-one)
:::

(pkg-info-autogenbench)=
Expand All @@ -93,5 +93,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/) | [{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/) | [{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 @@ -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 @@ -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: Use stringified convention
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 6567d90

Please sign in to comment.