Agent 서버 구축: 멀티테넌트 협상 PoC (UCB Q-Table 학습 + /chat + 14 API + 학습검증 하네스), config 단일화(local.toml) + 빌드 경량화

This commit is contained in:
HyeongBaeYang committed 2026-06-17 11:10:03 +09:00
1 parent 212725e5f9
commit 951d6eab84
140 files changed
+6689 -214

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
"""profiling 패키지 (구 N-profiling).
Chat_server 의 `N-profiling` 은 패키지명에 하이픈(`-`)이 들어가 정상 import 가 불가능했고,
`chat_engine.py` 에서 `importlib.util.spec_from_file_location` + `sys.modules` 수동 등록으로
동적 로드하는 해킹(`_load_dynamic_module`)으로 우회했다.
여기서는 `profiling` 으로 개명하여 정식 패키지 import 로 전환한다.
before: ScriptModifier = _load_dynamic_module("script_modifier", "ScriptModifier")
after : from negotiation.profiling.script_modifier import ScriptModifier
LLM 자격증명은 P7 에서 TenantConfig.llm 주입으로 전환한다(현재는 env 폴백).
"""