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
..
2023-10-24 18:33:26 +10:00
2023-08-04 18:20:06 +10:00
2023-08-04 18:20:06 +10:00
2023-08-04 18:20:06 +10:00
2026-02-23 23:26:42 +08:00
2023-09-07 17:31:11 +07:00