feat: backwards-compatible create_message overloads for SEP-1577 (#1713)
This commit is contained in:
parent
f82b0c9371
commit
fa851d93a2
1 changed files with 209 additions and 32 deletions
|
|
@ -13,6 +13,7 @@ from .types import (
|
|||
CompleteRequest,
|
||||
CreateMessageRequest,
|
||||
CreateMessageResult,
|
||||
CreateMessageResultWithTools,
|
||||
ErrorData,
|
||||
GetPromptRequest,
|
||||
GetPromptResult,
|
||||
|
|
@ -42,6 +43,7 @@ from .types import (
|
|||
ResourceUpdatedNotification,
|
||||
RootsCapability,
|
||||
SamplingCapability,
|
||||
SamplingContent,
|
||||
SamplingContextCapability,
|
||||
SamplingMessage,
|
||||
SamplingMessageContentBlock,
|
||||
|
|
@ -75,6 +77,7 @@ __all__ = [
|
|||
"CompleteRequest",
|
||||
"CreateMessageRequest",
|
||||
"CreateMessageResult",
|
||||
"CreateMessageResultWithTools",
|
||||
"ErrorData",
|
||||
"GetPromptRequest",
|
||||
"GetPromptResult",
|
||||
|
|
@ -105,6 +108,7 @@ __all__ = [
|
|||
"ResourceUpdatedNotification",
|
||||
"RootsCapability",
|
||||
"SamplingCapability",
|
||||
"SamplingContent",
|
||||
"SamplingContextCapability",
|
||||
"SamplingMessage",
|
||||
"SamplingMessageContentBlock",
|
||||
|
|
|
|||
Loading…
Reference in a new issue