|
445 | 445 | "propertyName": "type" |
446 | 446 | } |
447 | 447 | }, |
| 448 | + "toolCallResult": { |
| 449 | + "type": "object", |
| 450 | + "properties": { |
| 451 | + "content": { |
| 452 | + "type": "string" |
| 453 | + }, |
| 454 | + "toolCallId": { |
| 455 | + "type": "string" |
| 456 | + } |
| 457 | + }, |
| 458 | + "required": [ |
| 459 | + "content" |
| 460 | + ], |
| 461 | + "additionalProperties": false |
| 462 | + }, |
448 | 463 | "citationSource": { |
449 | 464 | "type": "object", |
450 | 465 | "properties": { |
|
1992 | 2007 | "propertyName": "type" |
1993 | 2008 | } |
1994 | 2009 | }, |
1995 | | - "preprocessorUpdate": { |
1996 | | - "anyOf": [ |
1997 | | - { |
1998 | | - "$ref": "#/definitions/processingUpdateStatusCreate" |
1999 | | - }, |
2000 | | - { |
2001 | | - "$ref": "#/definitions/processingUpdateStatusUpdate" |
2002 | | - }, |
2003 | | - { |
2004 | | - "$ref": "#/definitions/processingUpdateStatusRemove" |
2005 | | - }, |
2006 | | - { |
2007 | | - "$ref": "#/definitions/processingUpdateCitationBlockCreate" |
2008 | | - }, |
2009 | | - { |
2010 | | - "$ref": "#/definitions/processingUpdateDebugInfoBlockCreate" |
2011 | | - } |
2012 | | - ], |
2013 | | - "discriminator": { |
2014 | | - "mapping": { |
2015 | | - "status.create": "#/definitions/processingUpdateStatusCreate", |
2016 | | - "status.update": "#/definitions/processingUpdateStatusUpdate", |
2017 | | - "status.remove": "#/definitions/processingUpdateStatusRemove", |
2018 | | - "citationBlock.create": "#/definitions/processingUpdateCitationBlockCreate", |
2019 | | - "debugInfoBlock.create": "#/definitions/processingUpdateDebugInfoBlockCreate" |
2020 | | - }, |
2021 | | - "propertyName": "type" |
2022 | | - } |
2023 | | - }, |
2024 | 2010 | "processingRequestConfirmToolCall": { |
2025 | 2011 | "type": "object", |
2026 | 2012 | "properties": { |
|
2895 | 2881 | }, |
2896 | 2882 | "additionalProperties": false |
2897 | 2883 | }, |
| 2884 | + "promptPreprocessorUpdate": { |
| 2885 | + "anyOf": [ |
| 2886 | + { |
| 2887 | + "$ref": "#/definitions/processingUpdateStatusCreate" |
| 2888 | + }, |
| 2889 | + { |
| 2890 | + "$ref": "#/definitions/processingUpdateStatusUpdate" |
| 2891 | + }, |
| 2892 | + { |
| 2893 | + "$ref": "#/definitions/processingUpdateStatusRemove" |
| 2894 | + }, |
| 2895 | + { |
| 2896 | + "$ref": "#/definitions/processingUpdateCitationBlockCreate" |
| 2897 | + }, |
| 2898 | + { |
| 2899 | + "$ref": "#/definitions/processingUpdateDebugInfoBlockCreate" |
| 2900 | + } |
| 2901 | + ], |
| 2902 | + "discriminator": { |
| 2903 | + "mapping": { |
| 2904 | + "status.create": "#/definitions/processingUpdateStatusCreate", |
| 2905 | + "status.update": "#/definitions/processingUpdateStatusUpdate", |
| 2906 | + "status.remove": "#/definitions/processingUpdateStatusRemove", |
| 2907 | + "citationBlock.create": "#/definitions/processingUpdateCitationBlockCreate", |
| 2908 | + "debugInfoBlock.create": "#/definitions/processingUpdateDebugInfoBlockCreate" |
| 2909 | + }, |
| 2910 | + "propertyName": "type" |
| 2911 | + } |
| 2912 | + }, |
2898 | 2913 | "modelCompatibilityType": { |
2899 | 2914 | "type": "string", |
2900 | 2915 | "enum": [ |
|
6064 | 6079 | ], |
6065 | 6080 | "additionalProperties": false |
6066 | 6081 | }, |
6067 | | - "plugins/channel/setPreprocessor/toClientPacket": { |
| 6082 | + "plugins/channel/setPromptPreprocessor/toClientPacket": { |
6068 | 6083 | "anyOf": [ |
6069 | 6084 | { |
6070 | | - "$ref": "#/definitions/plugins/channel/setPreprocessor/toClientPacketPreprocess" |
| 6085 | + "$ref": "#/definitions/plugins/channel/setPromptPreprocessor/toClientPacketPreprocess" |
6071 | 6086 | }, |
6072 | 6087 | { |
6073 | | - "$ref": "#/definitions/plugins/channel/setPreprocessor/toClientPacketAbort" |
| 6088 | + "$ref": "#/definitions/plugins/channel/setPromptPreprocessor/toClientPacketAbort" |
6074 | 6089 | } |
6075 | 6090 | ], |
6076 | 6091 | "discriminator": { |
6077 | 6092 | "mapping": { |
6078 | | - "preprocess": "#/definitions/plugins/channel/setPreprocessor/toClientPacketPreprocess", |
6079 | | - "abort": "#/definitions/plugins/channel/setPreprocessor/toClientPacketAbort" |
| 6093 | + "preprocess": "#/definitions/plugins/channel/setPromptPreprocessor/toClientPacketPreprocess", |
| 6094 | + "abort": "#/definitions/plugins/channel/setPromptPreprocessor/toClientPacketAbort" |
6080 | 6095 | }, |
6081 | 6096 | "propertyName": "type" |
6082 | 6097 | } |
6083 | 6098 | }, |
6084 | | - "plugins/channel/setPreprocessor/toServerPacket": { |
| 6099 | + "plugins/channel/setPromptPreprocessor/toServerPacket": { |
6085 | 6100 | "anyOf": [ |
6086 | 6101 | { |
6087 | | - "$ref": "#/definitions/plugins/channel/setPreprocessor/toServerPacketComplete" |
| 6102 | + "$ref": "#/definitions/plugins/channel/setPromptPreprocessor/toServerPacketComplete" |
6088 | 6103 | }, |
6089 | 6104 | { |
6090 | | - "$ref": "#/definitions/plugins/channel/setPreprocessor/toServerPacketAborted" |
| 6105 | + "$ref": "#/definitions/plugins/channel/setPromptPreprocessor/toServerPacketAborted" |
6091 | 6106 | }, |
6092 | 6107 | { |
6093 | | - "$ref": "#/definitions/plugins/channel/setPreprocessor/toServerPacketError" |
| 6108 | + "$ref": "#/definitions/plugins/channel/setPromptPreprocessor/toServerPacketError" |
6094 | 6109 | } |
6095 | 6110 | ], |
6096 | 6111 | "discriminator": { |
6097 | 6112 | "mapping": { |
6098 | | - "complete": "#/definitions/plugins/channel/setPreprocessor/toServerPacketComplete", |
6099 | | - "aborted": "#/definitions/plugins/channel/setPreprocessor/toServerPacketAborted", |
6100 | | - "error": "#/definitions/plugins/channel/setPreprocessor/toServerPacketError" |
| 6113 | + "complete": "#/definitions/plugins/channel/setPromptPreprocessor/toServerPacketComplete", |
| 6114 | + "aborted": "#/definitions/plugins/channel/setPromptPreprocessor/toServerPacketAborted", |
| 6115 | + "error": "#/definitions/plugins/channel/setPromptPreprocessor/toServerPacketError" |
6101 | 6116 | }, |
6102 | 6117 | "propertyName": "type" |
6103 | 6118 | } |
6104 | 6119 | }, |
6105 | | - "pseudo/plugins/channel/setPreprocessor": { |
| 6120 | + "pseudo/plugins/channel/setPromptPreprocessor": { |
6106 | 6121 | "type": "object", |
6107 | 6122 | "properties": { |
6108 | 6123 | "toClientPacket": { |
6109 | | - "$ref": "#/definitions/plugins/channel/setPreprocessor/toClientPacket" |
| 6124 | + "$ref": "#/definitions/plugins/channel/setPromptPreprocessor/toClientPacket" |
6110 | 6125 | }, |
6111 | 6126 | "toServerPacket": { |
6112 | | - "$ref": "#/definitions/plugins/channel/setPreprocessor/toServerPacket" |
| 6127 | + "$ref": "#/definitions/plugins/channel/setPromptPreprocessor/toServerPacket" |
6113 | 6128 | } |
6114 | 6129 | }, |
6115 | 6130 | "required": [ |
|
6366 | 6381 | "channelRegisterDevelopmentPlugin": { |
6367 | 6382 | "$ref": "#/definitions/pseudo/plugins/channel/registerDevelopmentPlugin" |
6368 | 6383 | }, |
6369 | | - "channelSetPreprocessor": { |
6370 | | - "$ref": "#/definitions/pseudo/plugins/channel/setPreprocessor" |
| 6384 | + "channelSetPromptPreprocessor": { |
| 6385 | + "$ref": "#/definitions/pseudo/plugins/channel/setPromptPreprocessor" |
6371 | 6386 | }, |
6372 | 6387 | "channelSetPredictionLoopHandler": { |
6373 | 6388 | "$ref": "#/definitions/pseudo/plugins/channel/setPredictionLoopHandler" |
|
6393 | 6408 | "rpcSetGlobalConfigSchematics", |
6394 | 6409 | "rpcPluginInitCompleted", |
6395 | 6410 | "channelRegisterDevelopmentPlugin", |
6396 | | - "channelSetPreprocessor", |
| 6411 | + "channelSetPromptPreprocessor", |
6397 | 6412 | "channelSetPredictionLoopHandler", |
6398 | 6413 | "channelSetToolsProvider", |
6399 | 6414 | "channelSetGenerator" |
|
9299 | 9314 | ], |
9300 | 9315 | "additionalProperties": false |
9301 | 9316 | }, |
9302 | | - "plugins/channel/setPreprocessor/toClientPacketPreprocess": { |
| 9317 | + "plugins/channel/setPromptPreprocessor/toClientPacketPreprocess": { |
9303 | 9318 | "type": "object", |
9304 | 9319 | "properties": { |
9305 | 9320 | "type": { |
|
9349 | 9364 | ], |
9350 | 9365 | "additionalProperties": false |
9351 | 9366 | }, |
9352 | | - "plugins/channel/setPreprocessor/toClientPacketAbort": { |
| 9367 | + "plugins/channel/setPromptPreprocessor/toClientPacketAbort": { |
9353 | 9368 | "type": "object", |
9354 | 9369 | "properties": { |
9355 | 9370 | "type": { |
|
9368 | 9383 | ], |
9369 | 9384 | "additionalProperties": false |
9370 | 9385 | }, |
9371 | | - "plugins/channel/setPreprocessor/toServerPacketComplete": { |
| 9386 | + "plugins/channel/setPromptPreprocessor/toServerPacketComplete": { |
9372 | 9387 | "type": "object", |
9373 | 9388 | "properties": { |
9374 | 9389 | "type": { |
|
9391 | 9406 | ], |
9392 | 9407 | "additionalProperties": false |
9393 | 9408 | }, |
9394 | | - "plugins/channel/setPreprocessor/toServerPacketAborted": { |
| 9409 | + "plugins/channel/setPromptPreprocessor/toServerPacketAborted": { |
9395 | 9410 | "type": "object", |
9396 | 9411 | "properties": { |
9397 | 9412 | "type": { |
|
9410 | 9425 | ], |
9411 | 9426 | "additionalProperties": false |
9412 | 9427 | }, |
9413 | | - "plugins/channel/setPreprocessor/toServerPacketError": { |
| 9428 | + "plugins/channel/setPromptPreprocessor/toServerPacketError": { |
9414 | 9429 | "type": "object", |
9415 | 9430 | "properties": { |
9416 | 9431 | "type": { |
|
0 commit comments