Skip to content

rebranding: use ext/inference-toolkit and toolkit-manager names - #103

Merged
AhmedSeemalK merged 4 commits into
intel:release-1.2from
mik-now:refactor/rename-ext-dest
Dec 1, 2026
Merged

AhmedSeemalK merged 4 commits into
intel:release-1.2from
mik-now:refactor/rename-ext-dest

Conversation

@mik-now

@mik-now mik-now commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Companion to the toolkit-manager change that clones the toolkits into ext/inference-toolkit and ext/chatbot-toolkit. Finds model-manager under the new path and names toolkit-manager as the gateway vars owner.

Copilot AI 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.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

1 open issue
What changed in this PR

Updates this repo to match Toolkit Manager’s rebranding and new clone layout (ext/inference-toolkit), ensuring Ansible roles, model-manager config discovery, tests, and docs all reference the new paths and naming.

Changes:

  • Switched extension directory/path resolution from ext/enterprise.ai-inference to ext/inference-toolkit (Ansible + model-manager + docs).
  • Updated gateway “canonical owner” references from enterprise-ai-solutions to toolkit-manager.
  • Adjusted model-manager config discovery to prefer the shipped config.yaml colocated with the repo.
File Description
roles/​vllm_sr/​defaults/​main.yaml Updates gateway variable ownership comment to toolkit-manager.
roles/​llm_services/​vars/​main.yaml Changes default model-manager directory resolution to align with new repo layout.
roles/​llm_services/​tasks/​install.yaml Sets inference_extension_dir based on role_path (new clone location).
roles/​llm_services/​tasks/​deploy_models.yaml Updates error hint to reference inference-toolkit extension name.
roles/​litellm/​defaults/​main.yaml Updates gateway ownership comments to toolkit-manager.
roles/​langfuse/​defaults/​main.yaml Updates gateway ownership comment to toolkit-manager.
model_manager/​tests/​test_units.py Updates tests to expect repo layout under ext/inference-toolkit.
model_manager/​core/​config.py Changes inference config discovery to prefer repo-local shipped config.yaml.
docs/​reference/​architecture.md Updates documentation paths to ext/inference-toolkit.
docs/​getting-started/​quickstart.md Updates token script path to ext/inference-toolkit.
docs/​getting-started/​deploy-models.md Updates model-manager paths to ext/inference-toolkit.
docs/​getting-started/​accessing-models.md Updates token script path to ext/inference-toolkit.
docs/​faq-and-troubleshooting/​frequently-asked-questions.md Updates clone path to ext/inference-toolkit.
docs/​deployment/​openshift.md Updates token script path to ext/inference-toolkit.
config.yaml Updates name/header and -e @ext/.../config.yaml reference to inference-toolkit.
components.yaml Updates registry header naming to inference-toolkit.
README.md Updates all referenced clone/script paths to ext/inference-toolkit.
CONTRIBUTING.md Updates contributor workflow path to ext/inference-toolkit.

Review effort: Lite

Comment on lines +542 to +544
# This repo's own config.yaml, wherever ext/ cloned it.
shipped = MM_DIR.parent / "config.yaml"
return find_config("MM_INFERENCE_CONFIG", "env/local/config.inference.yaml") or (shipped if shipped.is_file() else None)
@sys-aibot

sys-aibot commented Nov 30, 2026 •

Copy link
Copy Markdown

Claude finished @mik-now's task in 45s —— View job


Verdict: needs changes

Blocking

  1. No test for the new inference_config() fallback: model_manager/core/config.py:541-544
    This PR changes how model_manager finds config.yaml. The old code looked for ext/enterprise.ai-inference/config.yaml under the Toolkit Manager root. The new code checks env/local/config.inference.yaml there, and if that is missing it uses the repo's own copy at MM_DIR.parent / "config.yaml", whatever the clone directory is called. The existing tests (test_units.py:224, :241) only cover the MM_INFERENCE_CONFIG override. Nothing covers the case where the env var is unset and env/local/config.inference.yaml is missing. If that fallback breaks again (for example, the next time the clone path or the MM_DIR depth changes), inference_config() returns None without any error. auth_provider(), gateway_provider() and inference_hostname() would then fall back to keycloak, envoy and the global config, and ignore the auth_type / ai_gateway_provider / litellm_hostname the toolkit ships in config.yaml. The repo rules require tests for changed model_manager behaviour, so this blocks.
    Fix: add a unit test like test_repo_root_found_by_either_installer_name (test_units.py:1883):
    • build checkout/ext/<any-name>/model_manager plus a sibling config.yaml;
    • monkeypatch MM_DIR and unset MM_INFERENCE_CONFIG;
    • assert that inference_config() returns the shipped file;
    • assert that env/local/config.inference.yaml wins when it exists.
      Fix this →

Suggestions

  1. The extension directory is defined twice: roles/llm_services/tasks/install.yaml:207 and roles/llm_services/vars/main.yaml:53
    The set_fact value ({{ role_path }}/../..) and the default(role_path ~ '/../..') fallback in vars/main.yaml now compute the same path. It could be defined once. For example, set inference_extension_dir: "{{ role_path }}/../.." in vars/main.yaml, derive __llm_mm_dir from it, and drop the set_fact task. All users (deploy_models.yaml, ui_deploy.yaml, validate.yaml) are inside llm_services, so role_path resolves the same everywhere.

Follows Toolkit Manager cloning this repo into ext/inference-toolkit.

Signed-off-by: Nowicki, Mikolaj <mikolaj.nowicki@intel.com>
Signed-off-by: Nowicki, Mikolaj <mikolaj.nowicki@intel.com>
@mik-now
mik-now force-pushed the refactor/rename-ext-dest branch from bb72d31 to acfa7eb Compare December 1, 2026 07:02
Copilot AI balanced review requested due to automatic review settings December 1, 2026 07:02
…pped config.yaml

Signed-off-by: Nowicki, Mikolaj <mikolaj.nowicki@intel.com>
Signed-off-by: Nowicki, Mikolaj <mikolaj.nowicki@intel.com>

Copilot AI 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.

🟢 Approval recommended

No active review issues block the repository-relative discovery and extension-naming updates.

1 open issue

Review effort: Balanced

@AhmedSeemalK AhmedSeemalK left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@vhpintel vhpintel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved , Good to go

@AhmedSeemalK
AhmedSeemalK merged commit 79955bb into intel:release-1.2 Dec 1, 2026
11 checks 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.

5 participants