@fusionkit/ensemble 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/agent.js +6 -1
  2. package/package.json +7 -7
package/dist/agent.js CHANGED
@@ -34,6 +34,11 @@ function deriveVerification(steps) {
34
34
  }
35
35
  export function createAgentHarness(options) {
36
36
  const id = options.id ?? "agent";
37
+ // The base URL is shared across panel models (one `fusionkit serve` router),
38
+ // which routes by the request `model` field. So the request model is the panel
39
+ // *endpoint id* (what the router's passthrough matches), not the provider model
40
+ // name. With a dedicated per-model endpoint the id is ignored, so this is safe
41
+ // either way.
37
42
  return {
38
43
  id,
39
44
  harnessKind: "generic",
@@ -82,7 +87,7 @@ export function createAgentHarness(options) {
82
87
  worktree: root,
83
88
  prompt: descriptor.prompt,
84
89
  baseUrl,
85
- model: model.model,
90
+ model: model.id,
86
91
  abortSignal: AbortSignal.timeout(modelTimeoutMs),
87
92
  ...(options.turn !== undefined ? { turn: options.turn } : {}),
88
93
  ...(options.apiKey !== undefined ? { apiKey: options.apiKey } : {}),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusionkit/ensemble",
3
3
  "private": false,
4
- "version": "0.1.2",
4
+ "version": "0.1.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/velum-labs/handoffkit.git",
@@ -25,11 +25,11 @@
25
25
  "provenance": true
26
26
  },
27
27
  "dependencies": {
28
- "@fusionkit/protocol": "0.1.2",
29
- "@fusionkit/runner": "0.1.2",
30
- "@fusionkit/adapter-ai-sdk": "0.1.2",
31
- "@fusionkit/model-gateway": "0.1.2",
32
- "@fusionkit/workspace": "0.1.2",
33
- "@fusionkit/session-harness": "0.1.2"
28
+ "@fusionkit/adapter-ai-sdk": "0.1.4",
29
+ "@fusionkit/model-gateway": "0.1.4",
30
+ "@fusionkit/protocol": "0.1.4",
31
+ "@fusionkit/runner": "0.1.4",
32
+ "@fusionkit/session-harness": "0.1.4",
33
+ "@fusionkit/workspace": "0.1.4"
34
34
  }
35
35
  }