feat: switch from mcp_core::Role to rmcp::model::Role (#3488)
This commit is contained in:
@@ -1998,6 +1998,7 @@
|
||||
},
|
||||
"Role": {
|
||||
"type": "string",
|
||||
"description": "A wrapper around rmcp::model::Role that implements ToSchema for utoipa",
|
||||
"enum": [
|
||||
"user",
|
||||
"assistant"
|
||||
|
||||
@@ -338,6 +338,9 @@ export type ResourceContents = {
|
||||
uri: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* A wrapper around rmcp::model::Role that implements ToSchema for utoipa
|
||||
*/
|
||||
export type Role = 'user' | 'assistant';
|
||||
|
||||
export type RunNowResponse = {
|
||||
|
||||
Reference in New Issue
Block a user