Update references to autogen (#3708)

This commit is contained in:
Jack Gerrits 2024-10-09 15:12:36 -04:00 committed by GitHub
parent 2526c69ce9
commit 6567d90941
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 11 additions and 16 deletions

View File

@ -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}",

View File

@ -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>

View File

@ -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

View File

@ -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)=
@ -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)=
@ -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)=
@ -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)=
@ -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)
:::

View File

@ -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."
]
},
{

View File

@ -174,8 +174,7 @@ class MessageRuntimeTracingConfig(
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"

View File

@ -54,10 +54,6 @@ class AsyncioAtExitWrapper(AtExitImpl):
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: