You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/adr/0002-ingress-frame-and-semantic-envelope.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,17 +23,17 @@ GOModel needs a model that preserves the original request faithfully while still
23
23
24
24
## Flow Diagram
25
25
26
-

26
+

27
27
28
28
## Decision
29
29
30
-
Use `RequestSnapshot` and `RequestSemantics` for transport-bearing model and provider request routes such as `/v1/chat/completions`, `/v1/responses`, `/v1/embeddings`, `/v1/batches*`, `/v1/files*`, and `/p/{provider}/{endpoint}`.
30
+
Use `RequestSnapshot` and `WhiteBoxPrompt` for transport-bearing model and provider request routes such as `/v1/chat/completions`, `/v1/responses`, `/v1/embeddings`, `/v1/batches*`, `/v1/files*`, and `/p/{provider}/{endpoint}`.
31
31
32
32
Discovery routes such as `GET /v1/models` are out of scope.
33
33
34
34
`RequestSnapshot` is always present.
35
35
36
-
`RequestSemantics` is optional and best-effort. It may be rich, sparse, or absent, depending on how much the gateway understands about the route, content type, and request body.
36
+
`WhiteBoxPrompt` is optional and best-effort. It may be rich, sparse, or absent, depending on how much the gateway understands about the route, content type, and request body.
37
37
38
38
This gives GOModel one consistent ingress model across both `/v1/*` and `/p/*`.
39
39
@@ -62,9 +62,9 @@ Its job is to preserve what came over the wire so the gateway can:
62
62
63
63
`RequestSnapshot` must not be mutated.
64
64
65
-
## RequestSemantics
65
+
## WhiteBoxPrompt
66
66
67
-
`RequestSemantics` is the gateway's best-effort semantic extraction from the ingress frame.
67
+
`WhiteBoxPrompt` is the gateway's best-effort semantic extraction from the ingress frame.
0 commit comments