Commit Graph

183 Commits

Author SHA1 Message Date
Chris Bartholomew ae80876671 fix: add procps to Docker image and smoke test to release workflow (#45)
* fix: add procps to Docker image and smoke test to release workflow

The Docker image was failing to start because pg0 uses `kill -0 <pid>`
to check if PostgreSQL is running, but the python:3.11-slim base image
doesn't include the `kill` command. Adding procps provides it.

This has been broken since release 0.1.6 when the fallback URI code was
removed to support dynamic ports. Without the kill command, pg0 couldn't
detect process status and returned None for the database URI.

Also adds smoke testing to the release workflow:
- Build image locally (single platform) and test before pushing
- Run container and wait for /health endpoint (up to 120s)
- Only push multi-platform release images if smoke test passes
- Each image (api-only, cp-only, standalone) tested independently

This prevents releasing broken Docker images to GHCR.

* refactor: extract smoke test into reusable script

Add scripts/docker-smoke-test.sh that can be run locally or in CI:
- Takes image name and optional target (cp-only vs api)
- Handles LLM credentials for API/standalone images
- Configurable timeout via SMOKE_TEST_TIMEOUT env var
- Colored output and clear error messages
- Proper cleanup on exit

Update release workflow to use the script instead of inline bash.
2025-12-17 22:01:53 +01:00
Nicolò Boschi 11ac9cd9a5 less verbose git hooks 2025-12-16 13:49:38 +01:00
Nicolò Boschi 9394cf92f2 fix: doc build and lint files (#34)
* fix doc build

* fix doc build
2025-12-16 13:49:09 +01:00
Nicolò Boschi 47be07f97f bump pg0 0.11.x and improve documentation (#33)
* bump pg0 0.11.x and improve documentation

* bump pg0 0.11.x and improve documentation

* bump pg0 0.11.x and improve documentation

* ci: test notebooks on ci

* ci: test notebooks on ci

* rm llms-full from repo

* formatting

* formatting
2025-12-16 13:33:01 +01:00
Nicolò Boschi bb1f9cb221 feat: support for gemini-3-pro and gpt-5.2 (#30)
* feat: support for gemini-3-pro and gpt-5.2

* feat: support for gemini-3-pro and gpt-5.2

* feat: support for gemini-3-pro and gpt-5.2

* feat: support for gemini-3-pro and gpt-5.2

* feat: add local mcp server

* docs

* docs
2025-12-16 11:00:27 +01:00
Nicolò Boschi f4bc8443b3 changelog generator 2025-12-15 14:46:14 +01:00
Nicolò Boschi 8a7c6e4e91 litellm release integration 2025-12-15 10:48:27 +01:00
Derek Bouius fcea8afa6c Change npm packaging structure and fix contributing info (#16)
* change the package to workspace concept

* add provider name and change default model

* add the node_modules to git ignore

* change the npm runs to use workspace

* fix the start scripts to use the workspace

* update the uv.lock

* updated instructions

* update the docker build to use the npm workspace

* Update package-lock.json after merge to sync workspace dependencies

* fix merge conflict
2025-12-12 14:14:19 -05:00
Nicolò Boschi fa554b8980 brandind and misc fixes 2025-12-11 12:46:48 +01:00
Nicolò Boschi f42476bf94 fix: make sure openai provider works + docs updates (#23)
* fix: make sure openai provider works

* fix: make sure openai provider works

* fix
2025-12-10 16:10:10 +01:00
Nicolò Boschi 04b2fcf0b5 update openapi spec 2025-12-09 10:02:14 +01:00
Nicolò Boschi c41490085a fix node build 2025-12-05 01:21:30 +01:00
Nicolò Boschi 5ad2dfe03e gemini support 2025-12-05 01:00:25 +01:00
Nicolò Boschi 943f6e7844 control plane and api issues 2025-12-02 18:28:57 +01:00
Nicolò Boschi 3e72984cd2 chunks 2025-11-29 16:34:13 +01:00
Nicolò Boschi d099ef870d rename to new names 2025-11-27 16:22:16 +01:00
Nicolò Boschi a3ad76d165 many improvements 2025-11-26 18:22:25 +01:00
Nicolò Boschi b1ff2e8823 rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
Nicolò Boschi 99a54aec90 more 2025-11-19 16:28:02 +01:00
Nicolò Boschi 3e618cb001 papers and fixes 2025-11-14 14:07:41 +01:00
Nicolò Boschi 28e28d51c4 refactori api 2025-11-13 13:51:42 +01:00
Nicolò Boschi c82fff949b add profiles 2025-11-13 13:22:27 +01:00
Nicolò Boschi 49d9b4bb63 update gh actions 2025-11-11 13:01:21 +01:00
Nicolò Boschi 588065182a polish + cli + helm + standalone 2025-11-11 12:35:20 +01:00
Nicolò Boschi a1c5f9847a standalone and fix 2025-11-10 17:48:23 +01:00
Nicolò Boschi 646dea89d9 reorder files 2025-11-10 15:45:30 +01:00
Nicolò Boschi ada9562cc2 lot of improvements 2025-11-10 15:02:51 +01:00
Nicolò Boschi 0f33c809e7 fixes 2025-11-07 14:14:53 +01:00
Nicolò Boschi 5d32e79955 fixes 2025-11-07 14:14:50 +01:00
Nicolò Boschi 18c7e0845b fix web init 2025-11-07 12:47:50 +01:00
Nicolò Boschi fcc5250656 bm25 and re-rankers 2025-11-07 10:22:59 +01:00
Nicolò Boschi 39801d9f8b local setup and speed 2025-11-05 15:35:07 +01:00
Nicolò Boschi d8fdbb94ef perf think improvements 2025-11-05 10:14:47 +01:00