Skip to content

Extract Manifold.Model behaviour as the backend seam (#9) - #15

Merged
vbergeron merged 1 commit into
mainfrom
claude/external-models-harness-gap-rkdapg
Sep 4, 2026
Merged

vbergeron merged 1 commit into
mainfrom
claude/external-models-harness-gap-rkdapg

Conversation

@vbergeron

Copy link
Copy Markdown
Owner

Manifold.Turn and Manifold.Gate called Manifold.Llama.Client by name for
every generation. Introduce Manifold.Model, a small behaviour
(completion/2, stream/3) that both now call through instead, resolved
from config :manifold, :model (defaults to Manifold.Llama.Client).

Manifold.Llama.Client implements the behaviour and is otherwise
untouched — this is a pure refactor with no behavior change for local
hosting. Swapping the configured module is now the entire integration
point for a future non-local backend.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01BXRwXRU1TAU5fmfvdAR5Km

Manifold.Turn and Manifold.Gate called Manifold.Llama.Client by name for
every generation. Introduce Manifold.Model, a small behaviour
(completion/2, stream/3) that both now call through instead, resolved
from config :manifold, :model (defaults to Manifold.Llama.Client).

Manifold.Llama.Client implements the behaviour and is otherwise
untouched — this is a pure refactor with no behavior change for local
hosting. Swapping the configured module is now the entire integration
point for a future non-local backend.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BXRwXRU1TAU5fmfvdAR5Km
@vbergeron
vbergeron merged commit 13f89e4 into main Sep 4, 2026
1 check passed
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.

2 participants