Skip to main content

One post tagged with "db"

View All Tags

LiteLLM journey: DB mode — 3 tables, config.yaml overlay, 60s auto-reload

· 5 min read

"ผม assume ว่า config.yaml เป็น source of truth — จนกว่าจะไปอ่าน docs เจอบรรทัดนี้: 'DB rows overlay config.yaml on every refresh'"

Part 1 ผมเล่าเรื่อง drop_params ต้อง recreate Part 2 ผมเล่าเรื่อง 3 flags ที่ใช้บ่อย Part 3 คือภาพของ DB mode — เก็บอะไรไว้ที่ไหน, config.yaml กับ DB ตัวไหนมีลำดับสูงกว่า, auto-reload ทำอะไรได้บ้าง