@maintainabilityai/research-runner 0.1.1 → 0.1.2
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.
|
@@ -11,12 +11,16 @@
|
|
|
11
11
|
* their result types.
|
|
12
12
|
*
|
|
13
13
|
* Model names use GitHub Models namespacing — e.g. `openai/gpt-4o`,
|
|
14
|
-
* `openai/gpt-4o-mini`, `
|
|
14
|
+
* `openai/gpt-4o-mini`, `openai/gpt-4.1`. The router (in
|
|
15
15
|
* llm-router.ts) maps internal logical model tiers (`plan` / `synth`) to
|
|
16
16
|
* the concrete provider-specific id.
|
|
17
17
|
*/
|
|
18
|
-
/**
|
|
19
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Subset of GitHub Models model ids we use. Extend as new tiers land.
|
|
20
|
+
* GitHub Models does not currently host Anthropic Claude — synth tier
|
|
21
|
+
* uses `openai/gpt-4.1` (the "outperforms gpt-4o across the board" tier).
|
|
22
|
+
*/
|
|
23
|
+
export type GitHubModelsModel = 'openai/gpt-4o' | 'openai/gpt-4o-mini' | 'openai/gpt-4.1' | 'openai/gpt-4.1-mini';
|
|
20
24
|
export interface CallGitHubModelsOpts {
|
|
21
25
|
/** Workflow GITHUB_TOKEN. The model server checks the `models:read` permission scope. */
|
|
22
26
|
token: string;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* their result types.
|
|
13
13
|
*
|
|
14
14
|
* Model names use GitHub Models namespacing — e.g. `openai/gpt-4o`,
|
|
15
|
-
* `openai/gpt-4o-mini`, `
|
|
15
|
+
* `openai/gpt-4o-mini`, `openai/gpt-4.1`. The router (in
|
|
16
16
|
* llm-router.ts) maps internal logical model tiers (`plan` / `synth`) to
|
|
17
17
|
* the concrete provider-specific id.
|
|
18
18
|
*/
|
package/dist/llm/llm-router.js
CHANGED
|
@@ -6,7 +6,7 @@ const github_models_client_1 = require("./github-models-client");
|
|
|
6
6
|
/** Per-tier per-provider model id lookup. */
|
|
7
7
|
const MODEL_BY_TIER = {
|
|
8
8
|
plan: { anthropic: 'claude-haiku-4-5', githubModels: 'openai/gpt-4o-mini' },
|
|
9
|
-
synth: { anthropic: 'claude-sonnet-4-6', githubModels: '
|
|
9
|
+
synth: { anthropic: 'claude-sonnet-4-6', githubModels: 'openai/gpt-4.1' },
|
|
10
10
|
};
|
|
11
11
|
async function callLlm(opts) {
|
|
12
12
|
const tierModels = MODEL_BY_TIER[opts.tier];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maintainabilityai/research-runner",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Research + PRD agent runner — orchestrates the Archeologist and PRD pipelines for the MaintainabilityAI governance mesh",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "MaintainabilityAI",
|