Skip to content

WIP: (3/7) Cache inference across model providers - #96

Draft
ErlisLushtaku wants to merge 3 commits into
cache-stack/02-do-inferencefrom
cache-stack/02b-hosted-providers
Draft

WIP: (3/7) Cache inference across model providers#96
ErlisLushtaku wants to merge 3 commits into
cache-stack/02-do-inferencefrom
cache-stack/02b-hosted-providers

Conversation

@ErlisLushtaku

@ErlisLushtaku ErlisLushtaku commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Description

Note

WIP: This cache stack is on hold until the task-YAML stack ending in #93 merges. The current implementation is not final and may change when it is adapted to the merged task runtime.

Extends cache descriptors and input hashing across the providers exposed by make_model.

  • Records whether the backend receives chat messages, flattened text or VLLM auto input.
  • Includes hosted endpoints, OpenRouter routing and output-affecting model settings.
  • Excludes VLLM execution-only settings from the descriptor.
  • Warns when OpenRouter routing is unpinned and keeps unsupported providers uncached.

This is stacked on #95.

Resolve provider request identity before backend construction so hosted, local, chat, and completion models share the same lazy cache boundary without conflating routing, endpoints, or payload formats.

Includes-AI-Code: true
Warn when OpenRouter routing is unpinned and keep cache input mode sourced from the validated descriptor.

Includes-AI-Code: true
@ErlisLushtaku ErlisLushtaku changed the title (3/6) Cache inference across model providers (3/7) Cache inference across model providers Aug 14, 2026
@ErlisLushtaku ErlisLushtaku changed the title (3/7) Cache inference across model providers WIP: (3/7) Cache inference across model providers Aug 14, 2026
@ErlisLushtaku
ErlisLushtaku marked this pull request as draft August 14, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant