Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
28ad2297
Unverified
Commit
28ad2297
authored
Oct 14, 2025
by
Simo Lin
Committed by
GitHub
Oct 14, 2025
Browse files
[router] delete useless table content comment in spec (#11597)
parent
f7f9f8ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
47 deletions
+0
-47
sgl-router/src/protocols/spec.rs
sgl-router/src/protocols/spec.rs
+0
-47
No files found.
sgl-router/src/protocols/spec.rs
View file @
28ad2297
...
...
@@ -10,53 +10,6 @@ fn default_model() -> String {
"unknown"
.to_string
()
}
// # Protocol Specifications
//
// This module contains all protocol definitions for OpenAI and SGLang APIs.
//
// ## Table of Contents
//
// 1. **OPENAI SPEC - Chat Completions API**
// - Message Types
// - Response Format Types
// - Tool/Function Types
// - Streaming Delta Types
// - Request/Response structures
//
// 2. **OPENAI SPEC - Completions API**
// - Request/Response structures
// - Streaming support
//
// 3. **OPENAI SPEC - Responses API**
// - Tool Definitions
// - Reasoning Configuration
// - Input/Output Items
// - Service Tier & Tool Choice
// - Request/Response structures
//
// 4. **OPENAI SPEC - Common**
// - Shared Request Components
// - Tool Choice Types
// - Usage Tracking
// - Logprobs Types
// - Error Response Types
//
// 5. **SGLANG SPEC - GENERATE API**
// - Generate Parameters
// - Sampling Parameters
// - Request/Response structures
//
// 6. **SGLANG SPEC - RERANK API**
// - Request/Response structures
//
// 7. **OPENAI SPEC - Embeddings API**
// - Request structures
//
// 8. **COMMON**
// - GenerationRequest trait
// - StringOrArray & LoRAPath types
// - Helper functions
#[derive(Debug,
Clone,
Deserialize,
Serialize)]
#[serde(tag
=
"role"
)]
pub
enum
ChatMessage
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment