-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Python distributed runtime to use cloud events for event (#4407)
* Cloud event publishing * Implement cloud event receiving * impl host servicer and
- Loading branch information
1 parent
bd77ccb
commit a4067f6
Showing
11 changed files
with
210 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
python/packages/autogen-core/src/autogen_core/application/_constants.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
GRPC_IMPORT_ERROR_STR = ( | ||
"Distributed runtime features require additional dependencies. Install them with: pip install autogen-core[grpc]" | ||
) | ||
|
||
DATA_CONTENT_TYPE_ATTR = "datacontenttype" | ||
DATA_SCHEMA_ATTR = "dataschema" | ||
AGENT_SENDER_TYPE_ATTR = "agagentsendertype" | ||
AGENT_SENDER_KEY_ATTR = "agagentsenderkey" | ||
MESSAGE_KIND_ATTR = "agmsgkind" | ||
MESSAGE_KIND_VALUE_PUBLISH = "publish" | ||
MESSAGE_KIND_VALUE_RPC_REQUEST = "rpc_request" | ||
MESSAGE_KIND_VALUE_RPC_RESPONSE = "rpc_response" | ||
MESSAGE_KIND_VALUE_RPC_ERROR = "error" |
3 changes: 0 additions & 3 deletions
3
python/packages/autogen-core/src/autogen_core/application/_utils.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.