completion-kit 0.4.2 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/completion_kit/application.css +850 -69
  3. data/app/controllers/completion_kit/runs_controller.rb +31 -18
  4. data/app/controllers/completion_kit/suggestions_controller.rb +24 -0
  5. data/app/jobs/completion_kit/generate_row_job.rb +7 -0
  6. data/app/jobs/completion_kit/judge_review_job.rb +2 -0
  7. data/app/jobs/completion_kit/model_discovery_job.rb +9 -4
  8. data/app/models/completion_kit/dataset.rb +9 -0
  9. data/app/models/completion_kit/provider_credential.rb +1 -1
  10. data/app/models/completion_kit/response.rb +7 -0
  11. data/app/models/completion_kit/run.rb +22 -1
  12. data/app/services/completion_kit/anthropic_client.rb +33 -14
  13. data/app/services/completion_kit/model_discovery_service.rb +35 -9
  14. data/app/services/completion_kit/ollama_client.rb +31 -10
  15. data/app/services/completion_kit/open_ai_client.rb +35 -13
  16. data/app/services/completion_kit/open_router_client.rb +34 -13
  17. data/app/services/completion_kit/worker_health.rb +4 -1
  18. data/app/views/completion_kit/datasets/index.html.erb +1 -1
  19. data/app/views/completion_kit/datasets/show.html.erb +47 -9
  20. data/app/views/completion_kit/metrics/_form.html.erb +1 -1
  21. data/app/views/completion_kit/metrics/index.html.erb +15 -2
  22. data/app/views/completion_kit/metrics/show.html.erb +1 -1
  23. data/app/views/completion_kit/prompts/index.html.erb +27 -8
  24. data/app/views/completion_kit/prompts/show.html.erb +6 -36
  25. data/app/views/completion_kit/provider_credentials/_discovery_status.html.erb +4 -2
  26. data/app/views/completion_kit/provider_credentials/_models_card.html.erb +1 -1
  27. data/app/views/completion_kit/provider_credentials/index.html.erb +1 -1
  28. data/app/views/completion_kit/runs/_actions.html.erb +3 -0
  29. data/app/views/completion_kit/runs/_form.html.erb +114 -20
  30. data/app/views/completion_kit/runs/_response_row.html.erb +58 -35
  31. data/app/views/completion_kit/runs/_row.html.erb +50 -0
  32. data/app/views/completion_kit/runs/_sort_toolbar.html.erb +5 -4
  33. data/app/views/completion_kit/runs/_status_header.html.erb +3 -2
  34. data/app/views/completion_kit/runs/_status_panel.html.erb +55 -21
  35. data/app/views/completion_kit/runs/index.html.erb +4 -16
  36. data/app/views/completion_kit/runs/show.html.erb +110 -16
  37. data/app/views/completion_kit/suggestions/show.html.erb +65 -0
  38. data/app/views/layouts/completion_kit/application.html.erb +71 -0
  39. data/config/routes.rb +8 -2
  40. data/db/migrate/20260507000001_add_discovery_error_to_provider_credentials.rb +5 -0
  41. data/db/migrate/20260507150000_add_temperature_ignored_to_runs.rb +5 -0
  42. data/lib/completion_kit/version.rb +1 -1
  43. metadata +7 -3
  44. data/app/views/completion_kit/runs/suggestion.html.erb +0 -47
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8246be5476d4ae32ad0f916710ef465f6e4b55733bc939c2325821a1763282a9
4
- data.tar.gz: 68d5cdc9b13ede743551e2f8a911136a25e1ca4a87c4c932eca6e3242c1897a4
3
+ metadata.gz: 782d221dda3171c19669e5d3daa75744aac880fcb773bb533bccda3c544c544c
4
+ data.tar.gz: ce76c9751f2107ecfae5d97c3683f6e99ed8ec4fa3714b8bdeedec2816205538
5
5
  SHA512:
6
- metadata.gz: f17b84d559dd1177ba22653666b7db8d88db109f4bc29ce20445e3610f65b9a4b439ef050a74631a58be36f2ae5baa767354af55e874e58ce134aae7b88bc938
7
- data.tar.gz: ab7d1cac9c158344f54a8808a62bfccae113cafed8073f4c19b8862143f1717f9833d0550954490654f7e0c0aa6da7ff8039ab37ed1ec377a95cb7e443358973
6
+ metadata.gz: e828ec637c58d531edfc7124cdd7a9330c586214df25667d5f5dde99de766fdfd671b791eb6e16cda1ffc3c856b5c0ebbb78624fa0e85aca2112cf28f8db11e1
7
+ data.tar.gz: efc6fb90993fbf291d258a6abc32665b5f24d33389cc28824f3535e877d11b89313fa0d453218d1ac3656532520be861624f53a430077a4c0ff3e5a8f373db37