This commit is contained in:
Your Name
2026-10-27 14:03:35 +08:00
parent 7986e4baf5
commit f9cbd42113
417 changed files with 71876 additions and 5344 deletions
@@ -6,6 +6,7 @@ namespace app\adminapi\service;
use app\common\service\NihaixiaClinicalSkill;
use app\common\service\TcmAncientBooksReference;
use app\common\service\TcmClinicalResponsePolicy;
use think\facade\Cache;
/** Short-lived evidence only. The caller must re-authorize and aggregate before lookup. */
@@ -43,7 +44,7 @@ final class AiContextCompactionCache
return 'ai-context-evidence:' . hash('sha256', serialize([
'evidence-extraction-v2', $scope, $profile, hash('sha256', $source),
$config['base_url'] ?? '', $config['models'][$profile] ?? [],
NihaixiaClinicalSkill::VERSION, TcmAncientBooksReference::COMMIT,
NihaixiaClinicalSkill::VERSION, TcmAncientBooksReference::COMMIT, TcmClinicalResponsePolicy::VERSION,
]));
}