Greyson LaLonde
372ba9a0d9
fix: reorganize type declarations
2026-01-14 05:53:04 -05:00
Greyson LaLonde
68df061c20
feat: inject server methods
2026-01-14 05:46:35 -05:00
Greyson LaLonde
f806cf5bfb
Merge branch 'main' into gl/feat/a2a-agent-cards
2026-01-14 05:18:10 -05:00
Greyson LaLonde
422b35cdb7
feat: add additional a2a fields, deprecate old config
2026-01-14 05:11:24 -05:00
Lorenze Jay
9edbf89b68
fix: enhance Azure model stop word support detection ( #4227 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
- Updated the `supports_stop_words` method to accurately reflect support for stop sequences based on model type, specifically excluding GPT-5 and O-series models.
- Added comprehensive tests to verify that GPT-5 family and O-series models do not support stop words, ensuring correct behavior in completion parameter preparation.
- Ensured that stop words are not included in parameters for unsupported models while maintaining expected behavior for supported models.
2026-01-13 10:23:59 -08:00
Vini Brasil
685f7b9af1
Increase frame inspection depth to detect parent_flow ( #4231 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
This commit fixes a bug where `parent_flow` was not being set because
the maximum depth was not sufficient to search for an instance of `Flow`
in the current call stack frame during Flow instantiation.
2026-01-13 18:40:22 +01:00
Koushiv
8f99fa76ed
feat: additional a2a transports
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Co-authored-by: Koushiv Sadhukhan <koushiv.777@gmail.com >
Co-authored-by: Greyson LaLonde <greyson.r.lalonde@gmail.com >
2026-01-12 12:03:06 -05:00
GininDenis
17e3fcbe1f
fix: unlink task in execution spans
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Co-authored-by: Greyson LaLonde <greyson.r.lalonde@gmail.com >
2026-01-12 02:58:42 -05:00
João Moura
46846bcace
fix: improve error handling for HumanFeedbackPending in flow execution ( #4203 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
* fix: handle HumanFeedbackPending in flow error management
Updated the flow error handling to treat HumanFeedbackPending as expected control flow rather than an error. This change ensures that the flow can appropriately manage human feedback scenarios without signaling an error, improving the robustness of the flow execution.
* fix: improve error handling for HumanFeedbackPending in flow execution
Refined the flow error management to emit a paused event for HumanFeedbackPending exceptions instead of treating them as failures. This enhancement allows the flow to better manage human feedback scenarios, ensuring that the execution state is preserved and appropriately handled without signaling an error. Regular failure events are still emitted for other exceptions, maintaining robust error reporting.
2026-01-08 03:40:02 -03:00
João Moura
d71e91e8f2
fix: handle HumanFeedbackPending in flow error management ( #4200 )
...
Updated the flow error handling to treat HumanFeedbackPending as expected control flow rather than an error. This change ensures that the flow can appropriately manage human feedback scenarios without signaling an error, improving the robustness of the flow execution.
2026-01-08 00:52:38 -03:00
Lorenze Jay
9a212b8e29
feat: bump versions to 1.8.0 ( #4199 )
...
* feat: bump versions to 1.8.0
* bump 1.8.0
2026-01-07 15:36:46 -08:00
Greyson LaLonde
2de21a075b
feat: generate agent card from server config or agent
2026-01-07 17:10:47 -05:00
Greyson LaLonde
4fb99c080b
Merge branch 'main' into gl/feat/a2a-agent-cards
2026-01-07 15:15:08 -05:00
Greyson LaLonde
67953b3a6a
feat: a2a native async chain
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
2026-01-07 14:07:40 -05:00
Greyson LaLonde
a760923c50
fix: handle missing a2a dep as optional
2026-01-07 14:01:36 -05:00
Vidit Ostwal
1c4f44af80
Adding usage info in llm.py ( #4172 )
...
* Adding usage info everywhere
* Changing the check
* Changing the logic
* Adding tests
* Adding casellets
* Minor change
* Fixing testcase
* remove the duplicated test case, thanks to cursor
* Adding async test cases
* Updating test case
---------
Co-authored-by: Lorenze Jay <63378463+lorenzejay@users.noreply.github.com >
2026-01-07 10:42:27 -08:00
Greyson LaLonde
c5a639b71a
Merge branch 'gl/feat/a2a-native-async' into gl/feat/a2a-agent-cards
2026-01-07 13:31:38 -05:00
Greyson LaLonde
ad52420887
Merge branch 'main' into gl/feat/a2a-native-async
2026-01-07 11:55:56 -05:00
Greyson LaLonde
09014215a9
feat: add a2a update mechanisms (poll/stream/push) with handlers, config, and tests
...
introduces structured update config, shared task helpers/error types, polling + streaming handlers with activated events, and a push notification protocol/events + handler. refactors handlers into a unified protocol with shared message sending logic and python-version-compatible typing. adds a2a integration tests + async update docs, fixes push config propagation, response model parsing safeguards, failure-state handling, stream cleanup, polling timeout catching, agent-card fallback behavior, and prevents duplicate artifacts.
2026-01-07 11:36:36 -05:00
Greyson LaLonde
480ac980f3
feat: add server and client configs, deprecate unified
2026-01-07 05:35:53 -05:00
João Moura
0ccc155457
feat: Introduce global flow configuration for human-in-the-loop feedback ( #4193 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
* feat: Introduce global flow configuration for human-in-the-loop feedback
- Added a new `flow_config` module to manage global Flow configuration, allowing customization of Flow behavior at runtime.
- Integrated the `hitl_provider` attribute to specify the human-in-the-loop feedback provider, enhancing flexibility in feedback collection.
- Updated the `human_feedback` function to utilize the configured HITL provider, improving the handling of feedback requests.
* TYPO
2026-01-07 05:42:28 -03:00
Greyson LaLonde
9efb973d5d
feat: add server agent card generation and organize a2a utils into submodules
2026-01-07 02:45:23 -05:00
Greyson LaLonde
556f82a854
feat: move handler types to types.py and add native async a2a functions
2026-01-07 01:31:00 -05:00
Greyson LaLonde
1da060c4eb
fix: ensure artifacts are not duplicated
2026-01-06 20:29:39 -05:00
Greyson LaLonde
0230cb67c4
feat: add agent_card to conditional branch fallback
2026-01-06 19:54:08 -05:00
Greyson LaLonde
cbd394eff8
Merge branch 'main' into gl/feat/a2a-async-updates
2026-01-06 19:33:09 -05:00
Lorenze Jay
8945457883
Lorenze/metrics for human feedback flows ( #4188 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
* measuring human feedback feat
* add some tests
2026-01-06 16:12:34 -08:00
Greyson LaLonde
8c9b1fbff7
fix: add error catch for polling timeout
2026-01-06 19:02:29 -05:00
Greyson LaLonde
c639455730
fix: ensure stream is closed on exit
2026-01-06 18:52:01 -05:00
Greyson LaLonde
f53b8755da
fix: ensure failed states are handled for push, poll
2026-01-06 18:38:10 -05:00
Greyson LaLonde
b754dc19fb
fix: ensure response models checked before parsing attempt
...
final answer was incorrectly trying to parse response models
2026-01-06 17:52:41 -05:00
Greyson LaLonde
57d91439a7
chore: update test assumption, docs
2026-01-06 17:44:35 -05:00
Greyson LaLonde
5629a707ae
fix: pass push notification config in initial request
2026-01-06 17:20:33 -05:00
Greyson LaLonde
d6c7f33744
chore: add a2a integration tests with cassettes
2026-01-06 09:47:37 -05:00
Greyson LaLonde
edbe8a8023
chore: update typing import for python version compat
2026-01-06 00:21:16 -05:00
Greyson LaLonde
7c95553c1c
Merge branch 'main' into gl/feat/a2a-async-updates
2026-01-06 00:16:55 -05:00
Greyson LaLonde
e9fafd41b5
feat: add authentication field to PushNotificationConfig
2026-01-06 00:06:25 -05:00
Greyson LaLonde
a2e6901892
chore: remove unused authentication field from PushNotificationConfig
2026-01-05 22:50:27 -05:00
Greyson LaLonde
1f9fe0f68e
chore: remove excess docs note
2026-01-05 22:37:02 -05:00
Greyson LaLonde
f9977a5ebe
feat: implement push notification handler
2026-01-05 22:27:13 -05:00
Greyson LaLonde
33d73c0be1
refactor: extract shared message sending logic
2026-01-05 22:26:03 -05:00
Greyson LaLonde
3607993e7e
feat: add push notification events
2026-01-05 22:06:20 -05:00
Greyson LaLonde
174c61bd73
feat: add push notification protocol and config
2026-01-05 22:05:44 -05:00
Greyson LaLonde
8c089636e0
chore: use python version compat types
2026-01-05 20:11:13 -05:00
Greyson LaLonde
33caeeba28
chore: refactor handlers to unified protocol
2026-01-05 20:07:48 -05:00
Greyson LaLonde
c75391dfbb
feat: activate polling events
2026-01-05 18:59:50 -05:00
Greyson LaLonde
f478004e11
chore: use TaskStateResult and TaskState enum
2026-01-05 18:58:12 -05:00
Greyson LaLonde
12d60a483a
feat: add polling and streaming handlers
2026-01-05 18:50:12 -05:00
Greyson LaLonde
7589e524ab
feat: add shared task helpers and error types
2026-01-05 18:47:28 -05:00
Greyson LaLonde
2d09e6bbcd
feat: add update mechanism config structure
2026-01-05 18:46:41 -05:00