@@ -127,7 +127,7 @@ type OpenAIRouter struct {
127127
128128** Processing Pipeline** :
129129
130- <ZoomableMermaid title =" Processing Pipeline " >
130+ <ZoomableMermaid title =" Processing Pipeline " defaultZoom = {3.5} >
131131{`sequenceDiagram
132132 participant E as Envoy
133133 participant R as Router
@@ -163,7 +163,7 @@ The classification system uses ModernBERT models for multiple classification tas
163163
164164#### Category Classification
165165
166- <ZoomableMermaid title =" Category Classification System " >
166+ <ZoomableMermaid title =" Category Classification System " defaultZoom = {4.5} >
167167{`graph LR
168168 Query[ User Query] --> Tokenizer[ ModernBERT Tokenizer]
169169 Tokenizer --> Encoder[ ModernBERT Encoder<br />768-dim embeddings]
@@ -216,8 +216,8 @@ class SemanticRouter:
216216
217217### Request Processing Flow
218218
219- < ZoomableMermaid title = " Request Processing Flow " defaultZoom = {1.3} >
220- {` graph TB
219+ ``` mermaid
220+ graph TB
221221 Start([Client Request]) --> EnvoyReceive[Envoy Receives Request]
222222
223223 EnvoyReceive --> ExtProcSend[Send to ExtProc<br/>Headers + Body]
@@ -259,12 +259,12 @@ class SemanticRouter:
259259 style JailbreakCheck fill:#f44336
260260 style CategoryClassification fill:#4caf50
261261 style CacheCheck fill:#2196f3
262- style RoutingDecision fill:#9c27b0`}
263- </ ZoomableMermaid >
262+ style RoutingDecision fill:#9c27b0
263+ ```
264264
265265### Response Processing Flow
266266
267- <ZoomableMermaid title =" Response Processing Flow " >
267+ <ZoomableMermaid title =" Response Processing Flow " defaultZoom = {4.5} >
268268{`sequenceDiagram
269269 participant C as Client
270270 participant E as Envoy
@@ -516,7 +516,7 @@ func (cb *CircuitBreaker) Call(operation func() error) error {
516516
517517### Fallback Strategies
518518
519- <ZoomableMermaid title =" Fallback Strategies " defaultZoom ={1 .5} >
519+ <ZoomableMermaid title =" Fallback Strategies " defaultZoom ={2 .5} >
520520{`graph TB
521521 Request[ Incoming Request] --> PrimaryRoute[ Primary Routing Decision]
522522
0 commit comments