syntax = "proto3"; package windsurf; import "clientinfo.proto"; // Main message structure message ChatRequestMessage { ClientInfo client_info = 1; string system_prompt = 2; repeated ChatMessage chat_messages = 3; uint32 model_id = 6; // 170 for gpt-4o, 171 for claude uint32 idk_id= 7; // 5 ModelConfig model_config = 8; ToolConfig tool_config = 10; ToolUse tool_use = 12; // "auto" IDK13n idk13 = 13; // 1 } message ToolUse { string mode = 1; } message IDK13n { uint32 idk13nn = 1; } // Chat message structure message ChatMessage { uint32 role = 2; // 1 for user, 2 for assistant string content = 3; sint32 tokens = 4; uint32 idk2 = 5; // 1 ? msgIDK idk3 = 8; // 1 ? repeated ImagePart image_parts = 10; } message msgIDK { uint32 idk4 = 1; // 1 ? } message ImagePart { string image_data = 1; // 1 string /9j/4AAQSkZJRg.... string image_mime_type = 2; // "image/png" } // Model configuration message ModelConfig { int32 parallel_stream = 1; int32 max_tokens = 2; // int32 idk9 = 3; // 200 double temperature = 5; // double idk2 = 6; // 1.0 int32 top_k = 7; double top_P = 8; repeated string special_tokens = 9; // double idk4 = 11; // 1.0 } // Tool configuration message ToolConfig { string tool_name = 1; string description = 2; string schema = 3; }