Skip to content

Pin Scaleway provider for Llama 3.1 8B tool-use tests#564

Merged
sroussey merged 1 commit into
mainfrom
claude/funny-rubin-fae19w
Jun 11, 2026
Merged

Pin Scaleway provider for Llama 3.1 8B tool-use tests#564
sroussey merged 1 commit into
mainfrom
claude/funny-rubin-fae19w

Conversation

@sroussey

Copy link
Copy Markdown
Collaborator

Summary

Fixed HuggingFace Inference API integration test for Llama 3.1 8B Instruct by pinning the router provider to Scaleway, which reliably supports tool calling for this model.

Changes

  • Updated HFI_Generic.integration.test.ts to explicitly set provider: "scaleway" in the provider config for the Llama 3.1 8B Instruct model
  • Added clarifying comment explaining that the default "auto" routing policy can route to backends (Novita, Nscale) that reject tools/tool_choice parameters for this model

Details

The HuggingFace Inference API uses a router that can direct requests to different backend providers. The default "auto" policy was routing Llama-3.1-8B-Instruct requests to backends that don't support tool calling, causing the tool-use capability tests to fail. By explicitly pinning to the Scaleway provider, we ensure consistent test behavior and reliable tool-use support for this model.

https://claude.ai/code/session_0126bRzijfnU1z3DYUESCTV8

The HFI_Generic conformance test registered Llama-3.1-8B-Instruct without
a router provider, so HF's "auto" policy routed each request to an
arbitrary backend. Two of the live backends for this model (novita,
nscale) reject tools/tool_choice, failing the tool-call accumulator and
multi-turn tests intermittently. Pin the model to scaleway, which
supports tool calling (including tool_choice: "required").

https://claude.ai/code/session_0126bRzijfnU1z3DYUESCTV8
@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 62.2% 24947 / 40102
🔵 Statements 62.05% 25805 / 41586
🔵 Functions 63.17% 4716 / 7465
🔵 Branches 50.82% 12225 / 24053
File CoverageNo changed files found.
Generated in workflow #2543 for commit 0f708d2 by the Vitest Coverage Report Action

@sroussey sroussey merged commit 27fdb36 into main Jun 11, 2026
14 checks passed
@sroussey sroussey deleted the claude/funny-rubin-fae19w branch June 11, 2026 02:01
sroussey added a commit that referenced this pull request Jun 12, 2026
## @workglow/browser-control

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/task-graph

### Features

- add bugs URL to package.json files across all packages and providers

### Bug Fixes

#### task-graph,storage

- cache restart-resume + SharedInMemory sync barrier (#552)

### Documentation

#### task-graph

- fix TaskOutputTabularRepository README examples for new constructor signature

## @workglow/javascript

### Features

- add bugs URL to package.json files across all packages and providers

### Bug Fixes

- tsgo issue

## @workglow/ai

### Features

- add typecheck budget guard to catch type-instantiation regressions (#555)
- add bugs URL to package.json files across all packages and providers

### Bug Fixes

#### ai

- export ChunkRetrievalInputSchema + nightly schema-vs-type drift guard (#565)

## @workglow/knowledge-base

### Features

- add bugs URL to package.json files across all packages and providers

## workglow

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/storage

### Features

- add bugs URL to package.json files across all packages and providers

### Bug Fixes

#### task-graph,storage

- cache restart-resume + SharedInMemory sync barrier (#552)

## @workglow/mcp

### Features

- add bugs URL to package.json files across all packages and providers

### Bug Fixes

#### mcp

- thread run-scoped registry through discoverSchemas (#577)
- resolve auth credentials through the run-scoped registry

## @workglow/util

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/test

### Features

- add bugs URL to package.json files across all packages and providers

#### supabase

- add Supabase vector storage with pgvector support (#578)

### Bug Fixes

#### mcp

- thread run-scoped registry through discoverSchemas (#577)
- resolve auth credentials through the run-scoped registry

#### task-graph,storage

- cache restart-resume + SharedInMemory sync barrier (#552)

### Tests

- pin HF router provider for tool-calling conformance tests (#564)

### Chores

- update deps

### Updated Dependencies

- `@aws-sdk/client-sqs`: ^3.1068.0
- `@cloudflare/workers-types`: ^4.20260612.1
- `@types/dom-chromium-ai`: ^0.0.17
- `miniflare`: ^4.20260611.0

## @workglow/tasks

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/job-queue

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/indexeddb

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/openai

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/llamacpp-server

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/mlx

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/electron

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/ollama

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/node-llama-cpp

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/aws

### Features

- add bugs URL to package.json files across all packages and providers

### Chores

- update deps

### Updated Dependencies

- `@aws-sdk/client-sqs`: ^3.1068.0

## @workglow/anthropic

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/google-gemini

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/postgres

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/stable-diffusion-server

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/supabase

### Features

- add bugs URL to package.json files across all packages and providers

#### supabase

- add Supabase vector storage with pgvector support (#578)

## @workglow/playwright

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/sqlite

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/cloudflare

### Features

- add bugs URL to package.json files across all packages and providers

### Chores

- update deps

### Updated Dependencies

- `@cloudflare/workers-types`: ^4.20260612.1

## @workglow/huggingface-transformers

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/tf-mediapipe

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/chrome-ai

### Features

- add bugs URL to package.json files across all packages and providers

### Chores

- update deps

### Updated Dependencies

- `@types/dom-chromium-ai`: ^0.0.17

## @workglow/huggingface-inference

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/cactus

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/bun-webview

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/cli

### Features

- add bugs URL to package.json files across all packages and providers

## @workglow/web

### Features

- add bugs URL to package.json files across all packages and providers

### Chores

- update deps

### Updated Dependencies

- `@tailwindcss/vite`: ^4.3.1
- `tailwindcss`: ^4.3.1
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