Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(evals): shared evals package and an eval for T3 tool-use mistakes #24635

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 34 commits intomain fromfeat/mcp-tool-use-evalmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 23 changed files with 4 additions and 2 deletions (loading 19).

x
0 of 23 viewed, 23 left
2 additions and 0 deletions.github/scripts/ci-changes.cjsModified
View file
@@ -32,6 +32,8 @@
​
// These tests read other packages without declaring dependencies.
const TEST_ONLY_DEPS = {
+ // Evals import the server's source to test its real model-facing text.
+ "@t3tools/evals": ["t3"],
"@t3tools/provider-pi": ["@t3tools/client-runtime"],
"@t3tools/scripts": [
"@t3tools/desktop",
1 addition and 1 deletionapps/server/src/mcp/OrchestratorMcpService.tsModified
View file
@@ -809,7 +809,7 @@
return detail.length > 80 ? `${detail.slice(0, 77)}...` : detail;
​
-function taskPrompt(input: OrchestratorMcpDelegateTaskInput): string {
+export function taskPrompt(input: OrchestratorMcpDelegateTaskInput): string {
return input.role === undefined || input.role === "general"
? input.task
: `Act as the ${input.role} sub-agent for this task.\n\n${input.task}`;
1 addition and 1 deletionapps/server/src/orchestration-v2/PullRequestSyncReactor.tsModified
View file
@@ -139,7 +139,7 @@
* does, existed before it ran. More URLs than create commands means something else printed
* some, such as `gh pr list`, so none are taken.