| | syntax = "proto3";
|
| |
|
| | package windsurf;
|
| |
|
| | import "clientinfo.proto";
|
| |
|
| |
|
| | message ChatRequestMessage {
|
| | ClientInfo client_info = 1;
|
| | string system_prompt = 2;
|
| | repeated ChatMessage chat_messages = 3;
|
| | uint32 model_id = 6;
|
| | uint32 idk_id= 7;
|
| | ModelConfig model_config = 8;
|
| | ToolConfig tool_config = 10;
|
| | ToolUse tool_use = 12;
|
| | IDK13n idk13 = 13;
|
| | }
|
| |
|
| | message ToolUse {
|
| | string mode = 1;
|
| | }
|
| |
|
| | message IDK13n {
|
| | uint32 idk13nn = 1;
|
| | }
|
| |
|
| |
|
| | message ChatMessage {
|
| | uint32 role = 2;
|
| | string content = 3;
|
| | sint32 tokens = 4;
|
| | uint32 idk2 = 5;
|
| | msgIDK idk3 = 8;
|
| | repeated ImagePart image_parts = 10;
|
| | }
|
| |
|
| | message msgIDK {
|
| | uint32 idk4 = 1;
|
| | }
|
| |
|
| | message ImagePart {
|
| | string image_data = 1;
|
| | string image_mime_type = 2;
|
| | }
|
| |
|
| |
|
| | message ModelConfig {
|
| | int32 parallel_stream = 1;
|
| | int32 max_tokens = 2;
|
| |
|
| | double temperature = 5;
|
| |
|
| | int32 top_k = 7;
|
| | double top_P = 8;
|
| | repeated string special_tokens = 9;
|
| |
|
| | }
|
| |
|
| |
|
| | message ToolConfig {
|
| | string tool_name = 1;
|
| | string description = 2;
|
| | string schema = 3;
|
| | }
|
| |
|