YueGuobin 10a827f0c5 feat(api): enhance max_tokens field with robust null handling
- Update LLMModelConfigUpdate schema to accept Union[int, str] for max_tokens
- Add field validator to gracefully handle various null representations:
  - Convert string "null" to null
  - Convert empty strings to null
  - Convert numeric strings to integers
  - Accept proper JSON null values
- Update documentation to reflect new behavior and explain robust null handling
- Prevents validation errors from incorrect null serialization by clients
2026-03-11 10:14:06 +08:00
..
2026-01-28 22:24:10 +08:00
2026-02-16 19:32:47 +08:00
2026-03-07 17:47:44 +08:00
2024-04-22 18:51:29 +07:00
2026-01-28 22:30:36 +08:00
2022-01-19 22:28:36 +10:30
2026-02-28 11:35:46 +08:00