3501 Commits

Author SHA1 Message Date
Jacob Alber
d9e0013975 feat: Implement mechanism to abstract over IHandle implementations 2025-01-28 09:24:16 -05:00
Jack Gerrits
a4d8d571b0 getting started sample 2025-01-28 09:24:16 -05:00
Jack Gerrits
d48b54fcaf rename Handle to HandleAsync 2025-01-28 09:24:16 -05:00
Jack Gerrits
e9d4dcae64 remove agents project 2025-01-28 09:24:16 -05:00
Jacob Alber
20a47ebd43 feat: Flesh out App Builder APIs 2025-01-28 09:24:16 -05:00
Jacob Alber
b08ce5d1a7 chore: Create a CoreOnly solution configuration 2025-01-28 09:24:16 -05:00
Jack Gerrits
0b850fdbdb add unsub test 2025-01-28 09:24:16 -05:00
Jack Gerrits
fd6a369422 fix handler selection 2025-01-28 09:24:16 -05:00
Jack Gerrits
2fd6eee080 fix namespace 2025-01-28 09:24:16 -05:00
Jack Gerrits
e15b449c16 fix test agent 2025-01-28 09:24:16 -05:00
Jack Gerrits
b16b94feb8 WIP, moved to base namespace 2025-01-28 09:24:16 -05:00
Griffin Bassman
a75892635b add xml comments for TopicId.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
42703dd79c add xml comments for MessageContext.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
e2082875e2 add xml comments for KVStringParseHelper.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
9a5242b973 add xml comments for AgentExceptions.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
08ff47383e add xml comments for IUnboundSubscriptionDefinition.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
b69af4aedf add xml comments for ISubscriptionDefinition.cs 2025-01-28 09:24:16 -05:00
Jack Gerrits
2ba7732220 add subscriptions to host builder 2025-01-28 09:24:16 -05:00
Jack Gerrits
fe8faa9133 empty line 2025-01-28 09:24:16 -05:00
Jack Gerrits
b19374e81d first tests 2025-01-28 09:24:16 -05:00
Jacob Alber
8a342ad9e6 feat: AppBuilder/Host pattern for AgentApp 2025-01-28 09:24:16 -05:00
Griffin Bassman
a4e585e69e add xml comments for ISaveState.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
f968b7b8b1 add xml comments for IAgentRuntime.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
271accbc0e add dotnet exceptions and IAgent xml docs 2025-01-28 09:24:16 -05:00
Jacob Alber
60b06583eb fix: Get InProcessRuntime building
* Sanitize APIs more
2025-01-28 09:24:16 -05:00
Jack Gerrits
9669f8bcd9 fix header 2025-01-28 09:24:16 -05:00
Jack Gerrits
4720efb75e move file 2025-01-28 09:24:16 -05:00
Jack Gerrits
52217ed69b impl base agent 2025-01-28 09:24:16 -05:00
Jacob Alber
468bb42cf8 feat: Initial implementation of InProcessRuntime 2025-01-28 09:24:16 -05:00
Jack Gerrits
35dd8f0d9e default close 2025-01-28 09:24:16 -05:00
Jack Gerrits
b0d268fae2 Add IUnboundSubscriptionDefinition 2025-01-28 09:24:16 -05:00
Griffin Bassman
f8325e5907 add xml comments for AgentType.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
4e7162e808 add typesubscription.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
e006240676 fix comment and agentProxy -- build succeeds 2025-01-28 09:24:16 -05:00
Jacob Alber
fd2409f5e1 fix: Add missing AgentId in IAgentRuntime methods
* also formatting fix
2025-01-28 09:24:16 -05:00
Griffin Bassman
7543192838 type prefix subscriptions 2025-01-28 09:24:16 -05:00
Griffin Bassman
1a789dfcc4 fix file headers 2025-01-28 09:24:16 -05:00
Jack Gerrits
c5a319e906 nullable return 2025-01-28 09:24:16 -05:00
Jack Gerrits
0497592e8a add python equiv in core 2025-01-28 09:24:16 -05:00
Griffin Bassman
51b992cfd5 add xml comments for AgentProxy.cs 2025-01-28 09:24:16 -05:00
Jacob Alber
51dbe6cd6d feat: Make the python interface more correct 2025-01-28 09:24:16 -05:00
Griffin Bassman
d6a83a2f7c add xml comments for AgentRuntimeExtensions.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
74ad10f341 add xml comments for AgentMetadata.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
c6c0351278 add xml comments for AgentId.cs 2025-01-28 09:24:16 -05:00
Jacob Alber
537277554e test: Add test for topic-based delivery 2025-01-28 09:24:16 -05:00
Jacob Alber
0100201dd4 feat: Python-equivalent Interfaces 2025-01-28 09:24:16 -05:00
Rohan Thacker
d49bf346e0
Updated docs for _azure_ai_client.py (#5199)
Update a minor typo and updated the `response_format` documentation to
the new value

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2025-01-27 23:19:38 +00:00
Eric Zhu
2ceb9dcffe
docs: Update user guide notebooks to enhance clarity and add structured output (#5224)
Resolves #5043
2025-01-27 13:57:29 -08:00
Victor Dibia
6359b6a7be
improve component config, add description support in dump_component (#5203)
<!-- Thank you for your contribution! Please review
https://microsoft.github.io/autogen/docs/Contribute before opening a
pull request. -->

<!-- Please add a reviewer to the assignee section when you create a PR.
If you don't have the access to it, we will shortly find a reviewer and
assign them to your PR. -->

## Why are these changes needed?

It is currently hard to add a description to a component (defaults to
None also) .. you have to call super.dump() modify and return. This PR
makes the experience better.

- allows you specify `component_description` and `component_label` as an
optional class var. label is an optional human readable name for the the
component.
- will use component_description if provided int he description field
when dumped if there is no description, will use the first line of class
docstring. Takes advantage of all the good practices we have in writing
good docstrings. label defaults to component type.
 

For example 

```python
model_client=OpenAIChatCompletionClient( model="gpt-4o-2024-08-06" )
config = model_client.dump_component()
print(config.model_dump_json())
```
Note the description field below is no longer None and there is a label
```python
{
  "provider": "autogen_ext.models.openai.OpenAIChatCompletionClient",
  "component_type": "model",
  "version": 1,
  "component_version": 1,
  "description": "Chat completion client for OpenAI hosted models.",
  "label": "OpenAIChatCompletionClient",
  "config": { "model": "gpt-4o-2024-08-06" }
}


```

<!-- Please give a short summary of the change and the problem this
solves. -->

## Related issue number

<!-- For example: "Closes #1234" -->
None, felt faster to fix.

## Checks

- [x] I've included any doc changes needed for
https://microsoft.github.io/autogen/. See
https://microsoft.github.io/autogen/docs/Contribute#documentation to
build and test documentation locally.
- [x] I've added tests (if relevant) corresponding to the changes
introduced in this PR.
- [x] I've made sure all auto checks have passed.
2025-01-27 21:41:23 +00:00
Eric Zhu
b441d5b43a
fix: Enhance OpenAI client to handle additional stop reasons and improve tool call validation in tests to address empty tool_calls list. (#5223)
Resolves #5222
2025-01-27 21:16:47 +00:00