모델 프로파일 기반 Cowork/Code 루프와 진행 UX 고도화 반영
- 등록 모델 실행 프로파일을 검증 게이트, 문서 fallback, post-tool verification까지 확장 적용 - Cowork/Code 진행 카드에 계획/도구/검증/압축/폴백/재시도 단계 메타를 추가해 대기 상태 가시성 강화 - OpenAI/vLLM tool 요청에 병렬 도구 호출 힌트를 추가하고 회귀 프롬프트 문서를 프로파일 기준으로 전면 정리 - 검증: dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\\verify\\ -p:IntermediateOutputPath=obj\\verify\\ (경고 0 / 오류 0)
This commit is contained in:
@@ -63,11 +63,11 @@ public static class TokenEstimator
|
||||
};
|
||||
}
|
||||
|
||||
/// <summary>토큰 수를 읽기 쉬운 문자열로 포맷합니다.</summary>
|
||||
/// <summary>토큰 수를 읽기 쉬운 문자열로 포맷합니다. 이진 단위(1K=1024) 사용.</summary>
|
||||
public static string Format(int count) => count switch
|
||||
{
|
||||
>= 1_000_000 => $"{count / 1_000_000.0:0.#}M",
|
||||
>= 1_000 => $"{count / 1_000.0:0.#}K",
|
||||
>= 1_048_576 => $"{count / 1_048_576.0:0.#}M", // 1024*1024
|
||||
>= 1_024 => $"{count / 1_024.0:0.#}K", // 1024
|
||||
_ => count.ToString(),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user