llama-stack-mirror/llama_stack
Charlie Doern 81ebaf6e9a
fix: properly represent paths in server logs (#2698)
# What does this PR do?

currently when logging the run yaml, if there are path objects in the
object they are represented as:

```
         external_providers_dir: !!python/object/apply:pathlib.PosixPath
         - '~'
         - .llama
         - providers.d
```

now, with a config.model_dump(mode="json"), it works properly

```
         external_providers_dir: ~/.llama/providers.d
```

Signed-off-by: Charlie Doern <cdoern@redhat.com>
2025-07-10 10:19:12 -04:00
..
apis chore(api): add mypy coverage to apis (#2648) 2025-07-09 12:55:16 +02:00
cli fix: llama stack run starter in conda (#2679) 2025-07-09 20:33:45 -07:00
distribution fix: properly represent paths in server logs (#2698) 2025-07-10 10:19:12 -04:00
models chore(api): add mypy coverage to prompts (#2657) 2025-07-09 10:07:00 +02:00
providers ci: test safety with starter (#2628) 2025-07-09 16:53:50 +02:00
strong_typing chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
templates ci: test safety with starter (#2628) 2025-07-09 16:53:50 +02:00
ui feat(auth,ui): support github sign-in in the UI (#2545) 2025-07-08 11:02:57 -07:00
__init__.py export LibraryClient 2024-12-13 12:08:00 -08:00
env.py refactor(test): move tools, evals, datasetio, scoring and post training tests (#1401) 2025-03-04 14:53:47 -08:00
log.py chore: remove nested imports (#2515) 2025-06-26 08:01:05 +05:30
schema_utils.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00