Skip to content

Use oi-kit-inference as the sole built-in model runtime - #13969

Open
jbg wants to merge 9 commits into
mainfrom
jbg/oi-kit-inference-runtime
Open

jbg wants to merge 9 commits into
mainfrom
jbg/oi-kit-inference-runtime

Conversation

@jbg

@jbg jbg commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

goose and oi-kit now use oi-kit-inference as their sole built-in local inference runtime for chat and decision models. This removes embedded llama.cpp and the emulated tool mode. Chat models used with built-in local inference must support native tool calling. This PR supersedes #12937.

  • The provider loads compatible GGUF and SafeTensors checkpoints and reuses existing model IDs and cached downloads. Its current backend is MLX, with Metal on Apple silicon and optional CUDA on supported x86-64 Linux and Windows hosts.
  • Native tool calling must be supported by both the chat model and its selected chat template, even for requests that supply no tools. The desktop tool-mode selector has been removed.
  • To keep using llama.cpp, run llama-server and point the OpenAI-compatible provider at its base URL. The built-in Vulkan release variants and their settings have been removed.
  • Built-in local inference also implements DecisionProvider. Set GOOSE_LOCAL_DECISION_MODEL=LiquidAI/d1-2B to use a separate decision model for auto-effort and context relevance. The checkpoint stays loaded across requests. Builds without local inference ignore this setting and can use Typesafe via TYPESAFE_API_KEY.

Refs #13199
Refs: #10960

@jbg
jbg marked this pull request as ready for review December 1, 2026 23:27
@jbg
jbg requested a review from a team as a code owner December 1, 2026 23:27
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-02T08:44:19.217524Z 5657801 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Documentation preview deployed: https://pr-13969.goose-pr-previews-poc.pages.dev

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bca6b2df8c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 45c52fa527

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2be17b7e15

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

This branch has not been deployed

No deployments
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