feat(release): v0.1.2 — deterministic provider failures and two validation regimes #9

Merged
fnoble merged 11 commits from chore/v0.1.2-release into main 2026-08-26 11:33:24 +00:00
Owner
No description provided.
fnoble left a comment

MEDIUM:
Api config -> raw api strings no mapping
Centralise floating config variable, don't leave it floating mid-script.

MEDIUM: Api config -> raw api strings no mapping Centralise floating config variable, don't leave it floating mid-script.
@ -4,2 +4,3 @@
"example-model": {
"model": "openai/ggml-org/GLM-4.7-Flash-GGUF:Q8_0",
"model": "ggml-org/GLM-4.7-Flash-GGUF:Q8_0",
"api": "openai-compatible",
Author
Owner

api config becomes the regular api prefix (not openai-compatible just 'openai/' or 'openai')

api config becomes the regular api prefix (not openai-compatible just 'openai/' or 'openai')
@ -73,2 +79,4 @@
)
# How much of the last model reply rides an exhausted AgentReplyError message.
REPLY_EXCERPT_CHARS = 500
Author
Owner

Floating config var, needs to be centralised somwehere

Floating config var, needs to be centralised somwehere
Author
Owner

Not quite. Create a constants module for the ngen-weave-core library where values like this are defined and import it here. Do the same for the cli as a placeholder, and add a 'design' doc and add a line to the PRD under decisions.

Not quite. Create a constants module for the ngen-weave-core library where values like this are defined and import it here. Do the same for the cli as a placeholder, and add a 'design' doc and add a line to the PRD under decisions.
@ -14,2 +14,4 @@
from ngen_weave.errors import ConfigError, DataError, InfraError, ProviderError
from ngen_weave.models.provider import Completion
API_PREFIXES = {"openai-compatible": "openai/"}
Author
Owner

Remove mapping, leave api config variable as raw api prefix. The most we'll do is check that it ends in '/' ('openai' is ok, just add on the '/' if missing).

Remove mapping, leave api config variable as raw api prefix. The most we'll do is check that it ends in '/' ('openai' is ok, just add on the '/' if missing).
fix(core): take api as raw provider prefix, group runner constants
All checks were successful
CI / check (push) Successful in 26s
7419a84af9
Review feedback on PR 9:
- models.json api is now the litellm prefix itself ('openai' or
  'openai/'); the API_PREFIXES dialect mapping is gone and validation
  only rejects non-string/empty values.
- Group REPLY_EXCERPT_CHARS with the other module constants in
  runner.py instead of leaving it floating after the imports.
- Bump root pyproject to 0.1.2 (missed in C1).
fnoble left a comment

MEDIUM:
See reply to 'floating variable comment'

MEDIUM: See reply to 'floating variable comment'
refactor(core): move shared constants into dedicated constants modules
All checks were successful
CI / check (push) Successful in 26s
c293f2b2e0
Review feedback on PR 9 (comment 75):
- New ngen_weave.constants holds REPLY_EXCERPT_CHARS; runner.py imports it.
- Placeholder ngen_weave_cli.constants for CLI-wide constants.
- Document the policy in plans/design/constants.md and record the
  decision in the PRD decision log.
fnoble merged commit ae5d1e4676 into main 2026-08-26 11:33:24 +00:00
fnoble deleted branch chore/v0.1.2-release 2026-08-26 11:33:24 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
neurogenesis/ngen-weave!9
No description provided.