llama-stack-mirror/llama_stack/providers/inline
Charlie Doern 7605631df7 fix: Pydantic v2 discriminated union default handling
Remove invalid default parameters from KVStoreConfig and SqlStoreConfig
  Annotated types which were causing UnsupportedFieldAttributeWarning and
  producing incorrect string values instead of proper config objects.

  Add proper default_factory to all KVStoreConfig and SqlStoreConfig fields
  across core datatypes and provider configs, ensuring they instantiate
  SqliteKVStoreConfig or SqliteSqlStoreConfig objects with correct defaults.

  This improves usability by allowing configs to be instantiated without
  explicitly providing storage configuration while maintaining type safety
  and discriminated union functionality.

Signed-off-by: Charlie Doern <cdoern@redhat.com>
2025-10-20 14:12:28 -04:00
..
agents fix: Pydantic v2 discriminated union default handling 2025-10-20 14:12:28 -04:00
batches fix: Pydantic v2 discriminated union default handling 2025-10-20 14:12:28 -04:00
datasetio fix: Pydantic v2 discriminated union default handling 2025-10-20 14:12:28 -04:00
eval fix: Pydantic v2 discriminated union default handling 2025-10-20 14:12:28 -04:00
files/localfs fix: Pydantic v2 discriminated union default handling 2025-10-20 14:12:28 -04:00
inference feat: Enable setting a default embedding model in the stack (#3803) 2025-10-14 18:25:13 -07:00
ios/inference feat(tools)!: substantial clean up of "Tool" related datatypes (#3627) 2025-10-02 15:12:03 -07:00
post_training fix: update dangling references to llama download command (#3763) 2025-10-09 18:35:02 -07:00
safety chore!: Safety api refactoring to use OpenAIMessageParam (#3796) 2025-10-12 08:01:00 -07:00
scoring feat(api)!: BREAKING CHANGE: support passing extra_body through to providers (#3777) 2025-10-10 16:21:44 -07:00
telemetry test(telemetry): Telemetry Tests (#3805) 2025-10-17 10:43:33 -07:00
tool_runtime fix(vector-io): handle missing document_id in insert_chunks (#3521) 2025-10-15 11:02:48 -07:00
vector_io fix: Pydantic v2 discriminated union default handling 2025-10-20 14:12:28 -04:00
__init__.py impls -> inline, adapters -> remote (#381) 2024-11-06 14:54:05 -08:00