This commit is contained in:
Your Name
2026-08-14 14:37:30 +08:00
parent 21790e35f4
commit 18c15d1262
117 changed files with 28157 additions and 8080 deletions
+3 -4
View File
@@ -1,14 +1,13 @@
<?php
/**
* 处方库 AI 解释Dify Chat App /chat-messages
* 处方库与诊单 AI 报告Dify / OpenAI-compatible
*
* 每个模型必须对应一个在 Dify 中锁定好实际模型的独立 App Key
* App Key 只能配置在服务端环境变量中,禁止下发到管理端浏览器。
* qwen/openai 分别使用各自的服务端凭据。凭据禁止下发到客户端或写入日志
*/
return [
'enable' => filter_var(
env('prescription_ai.ENABLE', env('prescription_ai.enable', true)),
env('prescription_ai.ENABLE', env('prescription_ai.enable', false)),
FILTER_VALIDATE_BOOLEAN
),
'base_url' => rtrim((string) env(