更新
This commit is contained in:
@@ -18,6 +18,18 @@ return [
|
||||
'prescription_ai.TIMEOUT',
|
||||
env('prescription_ai.timeout', 90)
|
||||
),
|
||||
// Clinical source files are mandatory: upload their bytes first instead of
|
||||
// relying on the model server to reach the workstation's resource URLs.
|
||||
'required_attachment_transport' => 'upload',
|
||||
'required_attachment_upload' => [
|
||||
// Explicit aliases for this deployment's upload directory. Do not derive
|
||||
// local-file access from an untrusted request Host or attachment URL.
|
||||
'local_origins' => array_values(array_filter(array_map('trim', explode(',', (string) env(
|
||||
'prescription_ai.REQUIRED_ATTACHMENT_LOCAL_ORIGINS',
|
||||
'https://admin.zhenyangtang.com.cn,https://css.zhenyangtang.com.cn,http://admin.zhenyangtang.com.cn,http://css.zhenyangtang.com.cn'
|
||||
))))),
|
||||
'max_file_bytes' => (int) env('prescription_ai.REQUIRED_ATTACHMENT_MAX_BYTES', 20 * 1024 * 1024),
|
||||
],
|
||||
// Reuse only evidence for an identical, freshly authorized source; 0 disables.
|
||||
'context_compaction_cache_ttl' => (int) env('prescription_ai.CONTEXT_COMPACTION_CACHE_TTL', 300),
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user