Xiaoyun Zhang
7f0acd78a8
.NET update global.json to use 9.0.100 ( #5517 )
<!-- 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?
<!-- Please give a short summary of the change and the problem this
solves. -->
## Related issue number
<!-- For example: "Closes #1234" -->
## Checks
- [ ] 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.
- [ ] I've added tests (if relevant) corresponding to the changes
introduced in this PR.
- [ ] I've made sure all auto checks have passed.
1 year ago
Jacob Alber
07fdc4e2da
fix: gRPC Agent Runtime Serialization Registration ( #5513 )
We were registering the serializers when we already had a concrete type
on the way into Publish or Send on the .NET side. However, in a xLang
scenario, messages could originate from e.g. Python before being
sent/published from .NET, resulting in no serializer being found.
This change adds a second-change registration and lookup when the agent
is instantiated based on the IHandle<T> implementations.
1 year ago
Ryan Sweet
edbd20167b
bring back grpc service ( #5377 )
Restoring the grpc + Orleans server into the project
## Why are these changes needed?
This is the distributed agent runtime for .NET that can manage routing
messages amongst a fleet of grpc agent runtimes.
## Related issue number
## Checks
- [ ] 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.
---------
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jacob Alber <jaalber@microsoft.com>
1 year ago
Griffin Bassman
da6f918708
feat: add dotnet code coverage ( #5403 )
1 year ago
Jack Gerrits
08f9830bf7
Dotnet Grpc worker implementation ( #5245 )
Co-authored-by: Jacob Alber <jaalber@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
1 year ago
Griffin Bassman
9af6883fbe
fix: dotnet test CI and standardize test categories ( #5286 )
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
1 year ago
Ryan Sweet
11461b75a2
Rysweet fix integration tests and xlang ( #5107 )
* fix python path
* update HelloAgent to enable grpc
* agents app remove webapplication and add grpc
* add di for client
* adding events types to grpc di
* warnings to information
* improve logging, add some error handling; fix grpc startup
* improve error logging
* cleaning up publishing of messages and message handling.
* WbApplication->HostedApplication
* formatting
* WebApplication -> HostApplication
* ensure correct .NET versions are available for integration test
1 year ago
Jack Gerrits
46ea0ad14c
Pin uv to 0.5.18 ( #5067 )
* Pin uv to 0.5.18
* pin gen component
* pin
1 year ago
Jack Gerrits
fadff4aece
Fix definition of workspace package, remove uv pin ( #4830 )
* Fix definition of workspace package, remove uv pin
* add --all-packages
* pin docs uv versions for older project structure
* try old version to verify CI
* Use workflow target
* change syntax
* change check
* try with var in matrix
* add all packages to workspace
* remove project table
1 year ago
Eric Zhu
501d8bb8f3
Update uv actiona and pin uv version to 0.5.11 ( #4820 )
1 year ago
Ryan Sweet
d96997232f
rysweet-4150-xlang-ci-test ( #4596 )
adds aspire-based integration test that validates:
* registration
* subscriptions
* event delivery
* python -> .NET server -> python subscriber
* .NET -> .NET server -> python subscriber
* python -> .NET server -> .NET subscriber
1 year ago
Xiaoyun Zhang
4889239955
.NET Add protos to paths-filter ( #4493 )
* Add protos to paths-filter
* Update dotnet-build.yml
1 year ago
Eric Zhu
25d006c09e
Add staging to workflow target; fix circular imports in autogen_agentchat ( #3651 )
* Fix formatting and remove duplicated import of EVENT_LOGGER_NAME in agentchat
* add staging to target in checks
* add staging to target in checks for dotnet
* Fix circular imports
1 year ago
Xiaoyun Zhang
9ba14ee15b
Fix dotnet test and reformat dotnet code ( #3603 )
* fix test
* install aspire workload
* format
* fix build error
* fix format
* format
1 year ago
Xiaoyun Zhang
7b5c5eee6d
[.Net] Release 0.1.0 ( #3398 )
* update version and release note
* Update MetaInfo.props
* update release note
1 year ago
Xiaoyun Zhang
a638a08f81
[.Net] Dispose kernel after running dotnet interactive tests ( #3378 )
* dispose kernel after running test
* add timeout
1 year ago
Xiaoyun Zhang
5732b3e766
[.Net] add DotnetInteractiveKernelBuilder to AutoGen.DotnetInteractive ( #3317 )
* add DotnetInteractiveBuilder
* update
* fix workflow
* add pwsh test
* update
* add extract code extension
* update workflow
1 year ago
Xiaoyun Zhang
cf2fe4aa78
[.Net] Fix #3306 ( #3310 )
* break conversation when orchestartor return null
* enable test on different OS
1 year ago
Xiaoyun Zhang
970c1961dd
[.Net] update dotnet-ci and dotnet-release to use 8.0.x version when setting up .NET. And enable format check ( #3136 )
* use 8.0.x versin
* enable format check
* change file header
* apply code format
* add instructions in ci to fix format error
* add comment back
2 years ago
Xiaoyun Zhang
84c7c2430c
[.Net] Add AOT compatible check for AutoGen.Core ( #2858 )
* add AutoGen.AotCompatibility test
* add aot test
* fix build error
* update ps1 path
2 years ago
Xiaoyun Zhang
1f501b210c
Update dotnet-build.yml to add merge_group trigger ( #2567 )
* Update dotnet-build.yml
* Update dotnet-build.yml
2 years ago
Xiaoyun Zhang
e3ccf228e2
Adding an action to set workflow as success when no change is made in target paths ( #2553 )
* update
* Update build.yml
* Update build.yml
* test workflow
* add build_check
* update
2 years ago
Xiaoyun Zhang
d7dda9be09
use conditional check to replace path filter in build and dotnet-ci workflow ( #2546 )
* use conditional check
* update
2 years ago
Xiaoyun Zhang
5e29ac84dc
[.Net] fix code ql for dotnet build && update trigger for dotnet workflow ( #2529 )
* fix formatting
* update dotnet build pipieline
2 years ago
Xiaoyun Zhang
600bd3f2fe
Bring Dotnet AutoGen ( #924 )
* update readme
* update
* update
* update
* update
* update
* update
* add sample project
* revert notebook change back
* update
* update interactive version
* add nuget package
* refactor Message
* update example
* add azure nightly build pipeline
* Set up CI with Azure Pipelines
[skip ci]
* Update nightly-build.yml for Azure Pipelines
* add dotnet interactive package
* add dotnet interactive package
* update pipeline
* add nuget feed back
* remove dotnet-tool feed
* remove dotnet-tool feed comment
* update pipeline
* update build name
* Update nightly-build.yml
* Delete .github/workflows/dotnet-ci.yml
* update
* add working_dir to use step
* add initateChat api
* update oai package
* Update dotnet-build.yml
* Update dotnet-run-openai-test-and-notebooks.yml
* update build workflow
* update build workflow
* update nuget feed
* update nuget feed
* update aoai and sk version
* Update InteractiveService.cs
* add support for GPT 4V
* add DalleAndGPT4V example
* update example
* add user proxy agent
* add readme
* bump version
* update example
* add dotnet interactive hook
* update
* udpate tests
* add website
* update index.md
* add docs
* update doc
* move sk dependency out of core package
* udpate doc
* Update Use-function-call.md
* add type safe function call document
* update doc
* update doc
* add dock
* Update Use-function-call.md
* add GenerateReplyOptions
* remove IChatLLM
* update version
* update doc
* update website
* add sample
* fix link
* add middleware agent
* clean up doc
* bump version
* update doc
* update
* add Other Language
* remove warnings
* add sign.props
* add sign step
* fix pipelien
* auth
* real sign
* disable PR trigger
* update
* disable PR trigger
* use microbuild machine
* update build pipeline to add publish to internal feed
* add internal feed
* fix build pipeline
* add dotnet prefix
* update ci
* add build number
* update run number
* update source
* update token
* update
* remove adding source
* add publish to github package
* try again
* try again
* ask for write pacakge
* disable package when branch is not main
* update
* implement streaming agent
* add test for streaming function call
* update
* fix #1588
* enable PR check for dotnet branch
* add website readme
* only publish to dotnet feed when pushing to dotnet branch
* remove openai-test-and-notebooks workflow
* update readme
* update readme
* update workflow
* update getting-start
* upgrade test and sample proejct to use .net 8
* fix global.json format && make loadFromConfig API internal only before implementing
* update
* add support for LM studio
* add doc
* Update README.md
* add push and workflow_dispatch trigger
* disable PR for main
* add dotnet env
* Update Installation.md
* add nuget
* refer to newtonsoft 13
* update branch to dotnet in docfx
* Update Installation.md
* pull out HumanInputMiddleware and FunctionCallMiddleware
* fix tests
* add link to sample folder
* refactor message
* refactor over IMessage
* add more tests
* add more test
* fix build error
* rename header
* add semantic kernel project
* update sk example
* update dotnet version
* add LMStudio function call example
* rename LLaMAFunctin
* remove dotnet run openai test and notebook workflow
* add FunctionContract and test
* update doc
* add documents
* add workflow
* update
* update sample
* fix warning in test
* reult length can be less then maximumOutputToKeep (#1804 )
* merge with main
* add option to retrieve inner agent and middlewares from MiddlewareAgent
* update doc
* adjust namespace
* update readme
* fix test
* use IMessage
* more updates
* update
* fix test
* add comments
* use FunctionContract to replace FunctionDefinition
* move AutoGen contrac to AutoGen.Core
* update installation
* refactor streamingAgent by adding StreamingMessage type
* update sample
* update samples
* update
* update
* add test
* fix test
* bump version
* add openaichat test
* update
* Update Example03_Agent_FunctionCall.cs
* [.Net] improve docs (#1862 )
* add doc
* add doc
* add doc
* add doc
* add doc
* add doc
* update
* fix test error
* fix some error
* fix test
* fix test
* add more tests
* edits
---------
Co-authored-by: ekzhu <ekzhu@users.noreply.github.com>
* [.Net] Add fill form example (#1911 )
* add form filler example
* update
* fix ci error
* [.Net] Add using AutoGen.Core in source generator (#1983 )
* fix using namespace bug in source generator
* remove using in sourcegenerator test
* disable PR test
* Add .idea to .gitignore (#1988 )
* [.Net] publish to nuget.org feed (#1987 )
* publish to nuget
* update ci
* update dotnet-release
* update release pipeline
* add source
* remove empty symbol package
* update pipeline
* remove tag
* update installation guide
* [.Net] Rename some classes && APIs based on doc review (#1980 )
* rename sequential group chat to round robin group chat
* rename to sendInstruction
* rename workflow to graph
* rename some api
* bump version
* move Graph to GroupChat folder
* rename fill application example
* [.Net] Improve package description (#2161 )
* add discord link and update package description
* Update getting-start.md
* [.Net] Fix document comment from the most recent AutoGen.Net engineer sync (#2231 )
* update
* rename RegisterPrintMessageHook to RegisterPrintMessage
* update website
* update update.md
* fix link error
* [.Net] Enable JsonMode and deterministic output in AutoGen.OpenAI OpenAIChatAgent (#2347 )
* update openai version && add sample for json output
* add example in web
* update update.md
* update image url
* [.Net] Add AutoGen.Mistral package (#2330 )
* add mstral client
* enable streaming support
* add mistralClientAgent
* add test for function call
* add extension
* add support for toolcall and toolcall result message
* add support for aggregate message
* implement streaming function call
* track (#2471 )
* [.Net] add mistral example (#2482 )
* update existing examples to use messageCOnnector
* add overview
* add function call document
* add example 14
* add mistral token count usage example
* update version
* Update dotnet-release.yml (#2488 )
* update
* revert gitattributes
---------
Co-authored-by: mhensen <mh@webvize.nl>
Co-authored-by: ekzhu <ekzhu@users.noreply.github.com>
Co-authored-by: Krzysztof Kasprowicz <60486987+Krzysztof318@users.noreply.github.com>
2 years ago
Xiaoyun Zhang
2daae42708
enable lfs support in dotnet workflow ( #2483 )
* enable lfs support in dotnet workflow
* Update dotnet-release.yml
* Update dotnet-build.yml
2 years ago
Davor Runje
4af0440730
Update GitHub actions ( #2078 )
* Add mypy check in pre-commit
* Add mypy check in pre-commit
* bug fix
* CI fix
* add python version matrix for checking types in CI
* update github actions
* revert some accidental changes
* revert some accidental changes
* revert some accidental changes
* revert some accidental changes
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2 years ago
Xiaoyun Zhang
b05b148cec
update dotnet workflow ( #1669 )
* cherry-pick change in dotnet workflow
* delete openai test workflow as it's part of dotnet-build already
2 years ago
Xiaoyun Zhang
d20bc09cba
move dotnet pipeline to the root of workflow ( #1116 )
2 years ago