Commit Graph

123 Commits

Author SHA1 Message Date
434f591f9c feat: gemini_guard — rate limiter + circuit breaker på alle Gemini-kall 2026-07-02 17:14:06 +00:00
6549c514b0 feat(osv): add local Ollama pipeline with explicit Emma escalation 2026-06-29 21:40:31 +02:00
8f3e6828f9 fix: use --update-secrets for opax-mcp secrets
Some checks failed
Check Python Version Consistency / Check Python Version (push) Waiting to run
Nightly GDrive Backup / Backup OSVauco → Google Drive (push) Has been cancelled
2026-06-29 02:06:22 +00:00
709cdca39c fix: add GITEA_TOKEN and GITHUB_PAT to opax-mcp secrets
Some checks are pending
Check Python Version Consistency / Check Python Version (push) Waiting to run
2026-06-29 01:33:31 +00:00
a56e28d9f0 fix: add OPAX_IAP_CLIENT_ID to cloudbuild.yaml
Some checks are pending
Check Python Version Consistency / Check Python Version (push) Waiting to run
2026-06-29 01:23:04 +00:00
34c7b77a9f fix: aksepter api-key header i tillegg til X-MCP-Key (Perplexity MCP connector) 2026-06-29 01:35:05 +02:00
54a86568b6 fix: gjør /run og /run/dag async — fjerner asyncio.run()-konflikt med uvicorn event loop
Some checks failed
Check Python Version Consistency / Check Python Version (push) Has been cancelled
2026-06-24 17:15:05 +00:00
5a10cdda3b fix: upgrade base image to python:3.13-slim to match dev environment 2026-06-23 14:21:11 +00:00
0f663c1d3d fix(startup): lazy-init root_agent in lifespan — fix Cloud Run startup probe 2026-06-23 12:17:58 +00:00
4dfcffd0b3 fix(startup): move all blocking calls to lifespan event 2026-06-23 11:54:44 +00:00
4610521e73 Merge remote-tracking branch github/main 2026-06-23 11:15:16 +00:00
2950542c29 fix(startup): move BQ table init to lifespan event — fixes Cloud Run startup probe timeout 2026-06-23 11:01:24 +00:00
ee50f8318e feat(agent): initial implementation of OPAX agent
Adds the core logic for the OPAX agent, including the main agent file, a deployment script, and an MCP client. This provides the foundation for the new agent-based architecture.
2026-06-23 09:51:32 +00:00
9627da37ae fix(agent): legg til vertexai.init() — ADK må initialiseras eksplisitt for Cloud Run 2026-06-17 17:59:05 +02:00
afabe8d2a9 fix: inline opax_mcp_client 2026-06-15 19:33:39 +00:00
294f455d67 fix(agent): inline opax_mcp_client direkte i agent.py — fjern ekstern import 2026-06-15 21:32:21 +02:00
31f58e4ce0 fix(deploy): gjer opax_mcp_client til Python-pakke med __init__.py for Vertex AI 2026-06-15 21:19:03 +02:00
61d1fa47ed fix(deploy): extra_packages peikar på .py-fil, ikkje mappe 2026-06-15 21:07:16 +02:00
a7e92cfba7 fix(deploy): legg til extra_packages for opax_mcp_client 2026-06-15 20:44:59 +02:00
bfd4d37f6e fix(jason): kopier opax_mcp_client inn i core-logic, redeploy med tools 2026-06-15 20:08:39 +02:00
5d137c1be7 fix(deploy_agent): rett import til vertexai.agent_engines (SDK 1.157.0) 2026-06-15 18:41:12 +02:00
e96e9329d5 feat(jason): koble opax-mcp til Jason — opax_mcp_client.py + oppdater mcp_tools.py + jason-vauger.md 2026-06-15 18:33:21 +02:00
4f3a802883 feat(CG5-onboard): token-basert invite-system + offentlig onboard-flow 2026-06-15 16:40:14 +02:00
beb466eab0 fix(docker): start main:app fra /app — ikke agents/core-logic 2026-06-13 16:40:14 +02:00
5916d26d1e fix(Dockerfile): WORKDIR /app + uvicorn main:app — starter riktig hovudapp 2026-06-13 06:55:34 +02:00
1d413a56d5 feat(CG4-budget): token-budsjett + context-trimming + Flash-first routing 2026-06-13 06:17:03 +02:00
950220166f fix: add GET / route serving opax.html from static/ 2026-06-10 21:15:31 +02:00
40788c35d4 fix: copy static/ into image so FileResponse can serve opax.html 2026-06-10 21:09:23 +02:00
b1464bd065 chore: revert debug endpoint and smoke test to /health 2026-06-10 16:48:08 +00:00
f7de25a411 feat(debug): add /debug-health endpoint for smoke testing 2026-06-10 16:17:41 +00:00
73d9898a7c fix(docker): correct python path and workdir for uvicorn 2026-06-10 15:34:56 +00:00
8b793a5408 fix(docker): correct Dockerfile WORKDIR and COPY for app context 2026-06-10 15:15:53 +00:00
0e16a5bf68 fix(docker): correct uvicorn entrypoint to app:app 2026-06-10 14:59:17 +00:00
1b8c8ac79c fix(ci): explicitly run agents.core-logic.app in Dockerfile 2026-06-10 14:54:02 +00:00
e40ec5d19f cleanup: slett unødvendig agents/__init__.py 2026-06-10 11:09:03 +02:00
7bb12a0459 cleanup: slett midlertidig main.py wrapper i agents/core-logic 2026-06-10 11:08:45 +02:00
1a7d46d310 revert: fjern PYTHONPATH, tilbake til fungerende 8-stegs Dockerfile 2026-06-10 11:05:37 +02:00
5ccb95a1c3 fix: tilbakestill Dockerfile til fungerende versjon (6981359) + fiks main.py plassering 2026-06-10 10:43:22 +02:00
189042e366 fix: rett CMD til main:app (uvicorn bruker filnavn, ikke pakkenavn) 2026-06-10 10:33:10 +02:00
17cf2467a5 fix: erstatt printf-generert main.py med ekte fil + rydd Dockerfile 2026-06-10 10:32:55 +02:00
f5ac0ce0c1 fix: legg til agents/__init__.py og utvid PYTHONPATH til å inkludere /app/agents 2026-06-10 10:25:08 +02:00
f815901918 fix: bruk main.py wrapper i stedet for bindestrek-modul-navn 2026-06-10 10:19:19 +02:00
bddaf6cc6b fix: sett PYTHONPATH=/app og kjør uvicorn fra riktig modul-sti 2026-06-10 10:19:04 +02:00
66e7d1eff8 fix: uvicorn --app-dir peker direkte på agents/core-logic/app.py 2026-06-10 10:13:59 +02:00
20dabd3d2b fix: rett uvicorn-modul fra main:app til app:app 2026-06-10 10:13:45 +02:00
6981359223 CI6 post-mortem: legg til RUNBOOK.md og oppdater .env.example med MCP_SECRET 2026-06-10 07:55:30 +02:00
8013bd8b6f CI6: fix _opax_headers() — bruk identity token (metadata server) istedet for access token for Cloud Run auth 2026-06-10 07:39:36 +02:00
3bb95c8af9 CI6: fjern RAG fra root_agent — blokkerer AFC/MCP FunctionTools (TODO: RAG som sub-agent når korpus er oppdatert) 2026-06-10 07:17:26 +02:00
54dd25a90e fix(CI5): konverter DatetimeWithNanoseconds til str før _parse_ts 2026-06-10 06:11:11 +02:00
c8cc45318f fix(CI6): robust datetime-parsing for Cloud Build REST tidsstempel 2026-06-10 05:31:49 +02:00