Skip to content

Commit 85b3561

Browse files
docs: drop em dashes from llms.md, model-providers/{index,authoring}.md
Sweep of leftover em dashes from PR-1/PR-2 docs that slipped past the no-em-dashes-in-user-facing-copy rule. Same substitutions as the prompts.md cleanup (colons, semicolons, parens, or sentence restructuring).
1 parent f5eba2a commit 85b3561

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

docs/concepts/llms.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ response post-receive against the supplied schema; strict is a
196196
wire-level optimization, not a correctness requirement.
197197

198198
`strict_mode_supported(schema)` (exported from `openarmature.llm`)
199-
performs the deep recursive check. The heuristic is conservative
199+
performs the deep recursive check. The heuristic is conservative:
200200
anything not on the list below trips to `strict: false`:
201201

202202
- Top-level schema is `type: "object"`.
@@ -240,7 +240,7 @@ A text block is the array-form equivalent of a text-string message:
240240
text block is normatively equivalent to one with `content="describe
241241
this"`.
242242

243-
An image block carries one source URL or inline base64 plus an
243+
An image block carries one source (URL or inline base64) plus an
244244
optional `detail` hint:
245245

246246
```python
@@ -302,7 +302,7 @@ fidelity: `"auto"`, `"low"`, or `"high"`. The class default is `None`,
302302
which **omits the field from the wire** and lets the provider apply
303303
its own default (conceptually `"auto"`). Setting `detail="auto"`
304304
explicitly on the spec block forces the wire to carry an explicit
305-
`"auto"`usually unnecessary, since the provider's default is the
305+
`"auto"`, usually unnecessary since the provider's default is the
306306
same value.
307307

308308
### When the model can't handle the block
@@ -324,12 +324,12 @@ provider on this category) compose cleanly against it.
324324
"audio", "video") and `reason` (the provider's human-readable
325325
message) when those are recoverable from the rejection.
326326

327-
`OpenAIProvider` detects content rejection via the response body
327+
`OpenAIProvider` detects content rejection via the response body:
328328
HTTP 400 with an error code like `image_content_not_supported` or a
329329
message like "does not support image inputs." Pre-send capability
330330
checks (failing fast before the wire trip when you know the model
331331
doesn't support images) live above the provider as userland
332-
middleware the provider doesn't ship a static model-capability
332+
middleware; the provider doesn't ship a static model-capability
333333
catalog.
334334

335335
## Routing on parsed fields

docs/model-providers/authoring.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class MyProvider:
6969
response_schema: dict[str, Any] | type[BaseModel] | None = None,
7070
) -> Response:
7171
# response_schema is part of the Protocol; a skeleton provider
72-
# MUST NOT silently ignore it callers expect either
72+
# MUST NOT silently ignore it: callers expect either
7373
# Response.parsed populated or a StructuredOutputInvalid raise.
7474
# Until the wire path is implemented, raise
7575
# ProviderInvalidRequest when response_schema is set. A
@@ -206,8 +206,8 @@ of:
206206
`ImageSourceInline`) are stable across providers; only the wire
207207
shape differs. Provider authors targeting non-multimodal models
208208
MUST surface `ProviderUnsupportedContentBlock` when the request
209-
carries blocks the bound model can't serve pre-send or
210-
post-receive per §7.
209+
carries blocks the bound model can't serve (pre-send or
210+
post-receive per §7).
211211
- **Structured output.** Threading `response_schema` through the
212212
request body (native `response_format` if the underlying wire
213213
supports it; prompt-augmentation fallback otherwise) and validating

docs/model-providers/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ in the LLMs concept page for the multimodal contract; see
8989

9090
`OpenAIProvider` detects unsupported-content-block rejections via
9191
the response body (HTTP 400 with an error code or message indicating
92-
content rejection) a post-receive mapping rather than a static
92+
content rejection): a post-receive mapping rather than a static
9393
pre-send capability check. Pre-send protection is a userland
9494
middleware pattern when callers know the bound model's capabilities
9595
up front.

0 commit comments

Comments
 (0)