comet-ml / opik

Open-source end-to-end LLM Development Platform
Apache License 2.0
2.12k stars 132 forks source link

[OPIK-329] fix backend version endpoint #513

Closed idoberko2 closed 2 weeks ago

idoberko2 commented 2 weeks ago

Details

In #500, the get backend version endpoint was introduced. However, the configuration were not injected properly resulting in a constantly empty response.

Issues

OPIK-329

Testing

Tested locally. Before this change:

❯ curl http://localhost:5173/api/is-alive/ver
{}

After this change:

❯ curl http://localhost:5173/api/is-alive/ver
{"version":"my_test_version"}