Commit 6ae32f0
[BREAKING] Python: Schema changes for azure functions package (#2151)
* Python: Add Scaffolding for Durable AzureFunctions package to Agent Framework (#1823)
* Add scafolding
* update readme
* add code owners and label
* update owners
* .NET: Durable extension: initial src and unit tests (#1900)
* Python: Add Durable Agent Wrapper code (#1913)
* add initial changes
* Move code and add single sample
* Update logger
* Remove unused code
* address PR comments
* cleanup code and address comments
---------
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
* Azure Functions .NET samples (#1939)
* Python: Add Unit tests for Azurefunctions package (#1976)
* Add Unit tests for Azurefunctions
* remove duplicate import
* .NET: [Feature Branch] Migrate state schema updates and support for agents as MCP tools (#1979)
* Python: Add more samples for Azure Functions (#1980)
* Move all samples
* fix comments
* remove dead lines
* Make samples simpler
* .NET: [Feature Branch] Durable Task extension integration tests (#2017)
* .NET: [Feature Branch] Update OpenAI config for integration tests (#2063)
* Python: Add Integration tests for AzureFunctions (#2020)
* Add Integration tests
* Remove DTS extension
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add pyi file for type safety
* Add samples in readme
* Updated all readme instructions
* Address comments
* Update readmes
* Fix requirements
* Address comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* .NET: [Feature Branch] Update dotnet-build-and-test.yml to support integration tests (#2070)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix DTS startup issue and improve logging (#2103)
* .NET: [Feature Branch] Introduce Azure OpenAI config for .NET pipeline (#2106)
Also fixes an issue where we were trying to start docker containers for integration tests on Windows, which doesn't work.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix uv.lock after merge
* Python: Add README for Azure Functions samples setup (#2100)
* Add README for Azure Functions samples setup
Added setup instructions for Azure Functions samples, including environment setup, virtual environment creation, and running samples.
* Update python/samples/getting_started/azure_functions/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Laveesh Rohra <larohra@microsoft.com>
* Fix or remove broken markdown file links (#2115)
* .NET: [Feature Branch] Update HTTP API to be consistent across languages (#2118)
* Python: Fix AzureFunctions Integration Tests (#2116)
* Add Identity Auth to samples
* Update python/samples/getting_started/azure_functions/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update python/samples/getting_started/azure_functions/01_single_agent/function_app.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update python/samples/getting_started/azure_functions/02_multi_agent/function_app.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update python/samples/getting_started/azure_functions/06_multi_agent_orchestration_conditionals/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Python: Fix Http Schema (#2112)
* Rename to threadid
* Respond in plain text
* Make snake-case
* Add http prefix
* rename to wait-for-response
* Add query param check
* address comments
* .NET: Remove IsPackable=false in preparation for nuget release (#2142)
* Python: Move `azurefunctions` to `azure` for import (#2141)
* Move import to Azure
* fix mypy
* Update python/packages/azurefunctions/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add missing types
* Address comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update python/packages/azurefunctions/pyproject.toml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update python/packages/azurefunctions/agent_framework_azurefunctions/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix imports
* Address PR feedback from westey-m (#2150)
- Adds a link from the /dotnet/samples/README.md to /dotnet/samples/AzureFunctions
- Make DurableAgentThread deserialization internal for future-proofing
- Update JSON serialization logic to address recently discovered issues with source generator serialization
* Schema changes for azure functions
* Fixed serialization bug
* update to camel case
* Adding logs
* merge with main
* sync uv.lock
* Updated schema
* Fixed tests
* Addressed comments
* Fixed mypy errors
* Fixed bug in responsetype and authorName
* Addressed feedback
* Addressed more feedback
* Python: Addressing comments for #2151 (#2315)
* Initial fixes
* Address more comments
* Address remaining comments
* Fixed remaining snake_case properties
* Fixed remaining snake_case properties
* Fixed mypy errors
* Minor changes
* revert tool names
* Fixed mypy errors
---------
Co-authored-by: Laveesh Rohra <larohra@microsoft.com>
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
Co-authored-by: Chris Gillum <cgillum@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Anirudh Garg <anirudhg@microsoft.com>
Co-authored-by: Victoria Hall <victoriahall@microsoft.com>1 parent 039e49f commit 6ae32f0
File tree
15 files changed
+1698
-561
lines changed- python
- packages/azurefunctions
- agent_framework_azurefunctions
- tests
- integration_tests
15 files changed
+1698
-561
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| |||
Lines changed: 93 additions & 63 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
19 | 32 | | |
20 | 33 | | |
21 | 34 | | |
22 | 35 | | |
23 | | - | |
24 | 36 | | |
25 | 37 | | |
26 | 38 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
317 | 319 | | |
318 | 320 | | |
319 | 321 | | |
320 | | - | |
| 322 | + | |
321 | 323 | | |
322 | 324 | | |
323 | 325 | | |
324 | | - | |
| 326 | + | |
325 | 327 | | |
326 | 328 | | |
327 | 329 | | |
| |||
334 | 336 | | |
335 | 337 | | |
336 | 338 | | |
337 | | - | |
| 339 | + | |
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
| |||
351 | 353 | | |
352 | 354 | | |
353 | 355 | | |
| 356 | + | |
354 | 357 | | |
355 | 358 | | |
356 | 359 | | |
| |||
370 | 373 | | |
371 | 374 | | |
372 | 375 | | |
373 | | - | |
| 376 | + | |
374 | 377 | | |
375 | 378 | | |
376 | 379 | | |
| |||
383 | 386 | | |
384 | 387 | | |
385 | 388 | | |
386 | | - | |
| 389 | + | |
387 | 390 | | |
388 | 391 | | |
389 | 392 | | |
| |||
392 | 395 | | |
393 | 396 | | |
394 | 397 | | |
395 | | - | |
| 398 | + | |
396 | 399 | | |
397 | 400 | | |
398 | 401 | | |
399 | 402 | | |
400 | 403 | | |
401 | 404 | | |
402 | 405 | | |
403 | | - | |
| 406 | + | |
404 | 407 | | |
405 | 408 | | |
406 | 409 | | |
407 | 410 | | |
408 | 411 | | |
409 | 412 | | |
410 | 413 | | |
411 | | - | |
| 414 | + | |
412 | 415 | | |
413 | 416 | | |
414 | 417 | | |
| |||
466 | 469 | | |
467 | 470 | | |
468 | 471 | | |
469 | | - | |
| 472 | + | |
470 | 473 | | |
471 | 474 | | |
472 | 475 | | |
| |||
491 | 494 | | |
492 | 495 | | |
493 | 496 | | |
494 | | - | |
| 497 | + | |
495 | 498 | | |
496 | 499 | | |
497 | 500 | | |
| |||
502 | 505 | | |
503 | 506 | | |
504 | 507 | | |
505 | | - | |
506 | | - | |
507 | | - | |
| 508 | + | |
508 | 509 | | |
509 | 510 | | |
510 | 511 | | |
| |||
580 | 581 | | |
581 | 582 | | |
582 | 583 | | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
587 | 597 | | |
588 | 598 | | |
589 | | - | |
| 599 | + | |
590 | 600 | | |
591 | 601 | | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
592 | 615 | | |
593 | 616 | | |
594 | | - | |
| 617 | + | |
595 | 618 | | |
596 | 619 | | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
605 | 628 | | |
606 | 629 | | |
607 | | - | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
608 | 636 | | |
609 | 637 | | |
610 | 638 | | |
| |||
613 | 641 | | |
614 | 642 | | |
615 | 643 | | |
| 644 | + | |
616 | 645 | | |
617 | 646 | | |
618 | 647 | | |
| |||
621 | 650 | | |
622 | 651 | | |
623 | 652 | | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
631 | 660 | | |
632 | 661 | | |
633 | 662 | | |
634 | 663 | | |
635 | 664 | | |
636 | | - | |
| 665 | + | |
637 | 666 | | |
638 | 667 | | |
639 | 668 | | |
640 | | - | |
| 669 | + | |
641 | 670 | | |
642 | 671 | | |
643 | 672 | | |
| |||
650 | 679 | | |
651 | 680 | | |
652 | 681 | | |
653 | | - | |
654 | | - | |
| 682 | + | |
| 683 | + | |
655 | 684 | | |
656 | 685 | | |
657 | 686 | | |
658 | 687 | | |
659 | | - | |
| 688 | + | |
660 | 689 | | |
661 | 690 | | |
662 | 691 | | |
| |||
702 | 731 | | |
703 | 732 | | |
704 | 733 | | |
705 | | - | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
706 | 737 | | |
707 | 738 | | |
708 | | - | |
| 739 | + | |
709 | 740 | | |
710 | 741 | | |
711 | 742 | | |
712 | 743 | | |
713 | 744 | | |
714 | 745 | | |
715 | | - | |
716 | | - | |
| 746 | + | |
717 | 747 | | |
718 | 748 | | |
719 | 749 | | |
| |||
729 | 759 | | |
730 | 760 | | |
731 | 761 | | |
732 | | - | |
733 | | - | |
734 | | - | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
735 | 765 | | |
736 | 766 | | |
737 | 767 | | |
| |||
742 | 772 | | |
743 | 773 | | |
744 | 774 | | |
745 | | - | |
| 775 | + | |
746 | 776 | | |
747 | 777 | | |
748 | 778 | | |
749 | 779 | | |
750 | | - | |
| 780 | + | |
751 | 781 | | |
752 | | - | |
753 | | - | |
754 | | - | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
755 | 785 | | |
756 | 786 | | |
757 | 787 | | |
| |||
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments