Files
routstr-core/routstr
redshift dd9ccc95a6 feat(systemone): add TypeSafe System One decision endpoint
Support POST /v1/systemone -- `{state, model, questions}` ->
`{answers, usage}` -- as a first-class Routstr endpoint with a dedicated
upstream provider.

- routstr/upstream/typesafe.py: new TypeSafeUpstreamProvider with a fixed
  base URL, a priced model catalog assembled from TypeSafe's
  pricing-less GET /v1/models, and fail-closed catalog errors.
- Register the provider and seed it from TYPESAFE_API_KEY.
- proxy: admit POST systemone and route it through the response-usage
  settlement branch (plus the X-Cashu gate) so ecash payments are charged
  from usage instead of being served free.
- Document the endpoint and add unit + end-to-end integration coverage.

SYSTEMONE_TYPESAFE.md records the change set and test report.
2026-09-19 16:19:18 +00:00
..
2026-09-07 00:30:05 +02:00
2026-09-16 13:15:32 +02:00