Kunthawat Greethong
afc7afa2f5
fix: 3 fixes for Step 2, Step 4, Step 5
1. Step 5: Use empty model_config_dict={} so camel-ai doesn't spread
api_key into create() - AsyncOpenAI reads env vars automatically.
Step 3 unaffected (same env vars, just cleaner ModelFactory call).
2. Step 2: Fix Thai text truncation - isalnum() stripped Thai chars.
Use re.sub(r'[^\w]', '', username, re.UNICODE) instead.
3. Step 4: Move get_language_instruction() to START of prompt (not end)
and strengthen wording with MUST/IMPORTANT prefix.
2026-06-22 10:57:57 +07:00
..
2025-12-08 15:55:39 +08:00
2026-04-01 16:55:51 +08:00
2026-06-22 10:57:57 +07:00
2026-06-17 15:32:47 +07:00
2026-06-22 10:57:57 +07:00
2026-06-17 19:36:05 +07:00
2025-12-08 15:55:39 +08:00
2026-04-01 16:53:29 +08:00
2026-04-01 16:55:51 +08:00
2025-11-28 17:21:08 +08:00
2026-02-27 15:53:29 +08:00
2026-04-01 16:55:51 +08:00
2026-06-17 15:28:00 +07:00