Add eval runner and tool orchestration
This commit is contained in:
1 parent
4294f3c92e
commit
5579db54da
66 files changed
+6162
-242
No files matched your search
@@ -1,16 +1,16 @@
|
||||
import type { Intent } from "./onboarding-state.js";
|
||||
|
||||
export const EXPECTED_KEYWORDS: Record<Intent["kind"], string[]> = {
|
||||
acknowledgement: ["감사", "알겠", "확인"],
|
||||
"age-question": ["27", "나이", "가입"],
|
||||
acknowledgement: ["네", "좋아요", "천천히"],
|
||||
"age-question": ["27", "가입", "가능"],
|
||||
chitchat: [],
|
||||
"discord-question": ["디스코드", "디코", "discord"],
|
||||
greeting: ["안녕", "반갑", "환영"],
|
||||
"help-how": ["어떻게", "방법", "해"],
|
||||
"help-where": ["어디", "위치", "찾"],
|
||||
"nickname-question": ["닉네임", "닉변", "형식", "이름"],
|
||||
"discord-question": ["디스코드", "권한", "완료"],
|
||||
greeting: ["반갑", "환영", "어서 오세요"],
|
||||
"help-how": ["하트", "닉네임", "스크린샷", "형식", "커버 보기"],
|
||||
"help-where": ["오른쪽 상단", "커버 보기", "프로필"],
|
||||
"nickname-question": ["닉네임", "형식", "티어", "/"],
|
||||
"off-topic-to-other": [],
|
||||
"photo-question": ["하트", "인증", "스크린샷", "프로필"],
|
||||
"status-question": ["남았", "완료", "진행", "상태"],
|
||||
"photo-question": ["하트", "스크린샷", "프로필", "커버 보기"],
|
||||
"status-question": ["남았", "완료", "아직", "끝"],
|
||||
unknown: [],
|
||||
};
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getDeadlineNearThresholdMin } from "../../../config.js";
|
||||
import { DEADLINE_NEAR_THRESHOLD_MIN } from "../constants.js";
|
||||
import { analyzeNicknameIssues } from "../onboarding-templates.js";
|
||||
import type { OnboardingSession } from "../types.js";
|
||||
import type { OnboardingPhase, RemainingStep } from "./onboarding-state.js";
|
||||
@@ -30,7 +30,7 @@ function isDeadlineNear(session: OnboardingSession | null): boolean {
|
||||
return false;
|
||||
}
|
||||
|
||||
return deadlineAt - Date.now() <= getDeadlineNearThresholdMin() * 60_000;
|
||||
return deadlineAt - Date.now() <= DEADLINE_NEAR_THRESHOLD_MIN * 60_000;
|
||||
}
|
||||
|
||||
export function derivePhaseFromSession(
|
||||
|
||||
Reference in new issue
Block a user