fastapi-fullstack 0.2.21__py3-none-any.whl → 0.2.22__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: fastapi-fullstack
3
- Version: 0.2.21
3
+ Version: 0.2.22
4
4
  Summary: Full-stack FastAPI + Next.js template generator with Pydantic AI/LangChain agents, WebSocket streaming, 20+ enterprise integrations, and Logfire/LangSmith observability. Ship AI apps fast.
5
5
  Project-URL: Homepage, https://github.com/vstorm-co/full-stack-ai-agent-template
6
6
  Project-URL: Documentation, https://vstorm-co.github.io/full-stack-ai-agent-template/
@@ -19,8 +19,10 @@ Classifier: Programming Language :: Python :: 3.11
19
19
  Classifier: Programming Language :: Python :: 3.12
20
20
  Classifier: Topic :: Software Development :: Code Generators
21
21
  Requires-Python: >=3.11
22
+ Requires-Dist: certifi>=2026.10.18
22
23
  Requires-Dist: click>=8.3.3
23
24
  Requires-Dist: cookiecutter>=2.7.0
25
+ Requires-Dist: dnspython>=2.9.2
24
26
  Requires-Dist: email-validator>=2.3.0
25
27
  Requires-Dist: packaging>=24.0
26
28
  Requires-Dist: pydantic>=2.13.0
@@ -1,7 +1,7 @@
1
1
  fastapi_gen/__init__.py,sha256=oK2gEM45SpSYBb-Itgr0GII88-5qfB0kmNkj90FkvQw,257
2
2
  fastapi_gen/cli.py,sha256=DXe3KZVtbphokBLYup93qhoAkD_2fUUrzrucSmP8xNM,61286
3
3
  fastapi_gen/config.py,sha256=Xx97sK57NDR-7-Ky9IogqVWbf0Wh5HAldKpNA6cvdCI,45581
4
- fastapi_gen/generator.py,sha256=vMZ18ANuhCKva2pDklIIAZO7bkwX-ehvPzmFV0ND3vw,8441
4
+ fastapi_gen/generator.py,sha256=orulEK-6QU3dJ2It4CGkzcH2K82kMCGKs_2OF_qo9QQ,8538
5
5
  fastapi_gen/prompts.py,sha256=VFsGDDJzYQxwTRE4T9VskkXRjuOkHC5139prhtyZhos,67865
6
6
  fastapi_gen/upgrade/__init__.py,sha256=-JlxOkKPW-rAbldIj2V4czXN3RGoP_tSm2hB0U8OO8M,640
7
7
  fastapi_gen/upgrade/_render_worker.py,sha256=dAq5pmWJPdB3VRujFSYSh9tQ8z7klow6rCucgXEH6rE,1363
@@ -20,7 +20,7 @@ fastapi_gen/upgrade/runner.py,sha256=msnj2RYii6low6gPeZ4TRMlL01Hq8a0zJyLBzPotxCI
20
20
  fastapi_gen/UPGRADES.yaml,sha256=KWHs_vnhxjjsYXVNZkIGwLPxZsJlVkxIzTBlAXkcal0,5718
21
21
  fastapi_gen/template/VARIABLES.md,sha256=GEk5LqrItHC66PBYmmi5lokwzxDxGiLvnhlsZOw97JA,35410
22
22
  fastapi_gen/template/cookiecutter.json,sha256=e1xSqG9i-CTsux-nnCUWf6v7So67_jAp_puf_siHMWs,6397
23
- fastapi_gen/template/hooks/post_gen_project.py,sha256=jNj3O7jIQyZysbVGevtcEqzjHyYtlXRnyToPyO1x06g,61785
23
+ fastapi_gen/template/hooks/post_gen_project.py,sha256=_SYRmnOkaLtCSSbAkWl3MBokfC7brqMU3O7XICEdBi0,61696
24
24
  fastapi_gen/template/{{cookiecutter.project_slug}}/.gitignore,sha256=yC3ZUp8Txp_1TPDabDlz4pGa2p1cNwr49de0dCcctOw,1515
25
25
  fastapi_gen/template/{{cookiecutter.project_slug}}/.gitlab-ci.yml,sha256=SYDjmai3eKIiz4MbiEBHm4hBA_Ksu3Pk4Enr7cGk46Y,4659
26
26
  fastapi_gen/template/{{cookiecutter.project_slug}}/AGENTS.md,sha256=HqhXNdBq1ZXlFJCC4V3CY8DorTkZkwFJcvv2O77Pwk4,2454
@@ -31,10 +31,10 @@ fastapi_gen/template/{{cookiecutter.project_slug}}/MANUAL_STEPS.md,sha256=EGPQya
31
31
  fastapi_gen/template/{{cookiecutter.project_slug}}/Makefile,sha256=Pjqb8ph2XTiuEWhC99ECjYGMjq_ZiT8epdN5YgjzLos,18018
32
32
  fastapi_gen/template/{{cookiecutter.project_slug}}/README.md,sha256=nXNh5TKj2wMqxZDxoFp7Q1ej87IL-Rt_VTGBkQLfKCw,14314
33
33
  fastapi_gen/template/{{cookiecutter.project_slug}}/SECURITY.md,sha256=7X5u7feq2AXxWv2CMMNQZf5QQ5QkwBnzKlrcLz3RJ_Q,4735
34
- fastapi_gen/template/{{cookiecutter.project_slug}}/docker-compose.dev.yml,sha256=vE2ELu0RD1pWH7t-8gE4DR9XlTEnr0VWHME-heu4Qfk,12356
34
+ fastapi_gen/template/{{cookiecutter.project_slug}}/docker-compose.dev.yml,sha256=OBbGFxp1zvopxDpYi0UgdxGemjVUuvh7shGjfviog4A,12356
35
35
  fastapi_gen/template/{{cookiecutter.project_slug}}/docker-compose.frontend.yml,sha256=5Iu2j3ChoUGn7VTVKLkXbGwtI21z1WdHg0IPhV3dPOQ,2726
36
- fastapi_gen/template/{{cookiecutter.project_slug}}/docker-compose.prod.yml,sha256=fhPZjbBPYokn9Bp269zaTvY9c3-FVmj5jlYCay7FabU,24806
37
- fastapi_gen/template/{{cookiecutter.project_slug}}/docker-compose.yml,sha256=Dutt64BSlDR0s9rfIX92edmXGzPFQrIMv6OUSf6Kv9k,13643
36
+ fastapi_gen/template/{{cookiecutter.project_slug}}/docker-compose.prod.yml,sha256=OhCL2j9n7DZoWxZ4FBgwRhSsJZQGDpWmSP2dc-FNGgU,24806
37
+ fastapi_gen/template/{{cookiecutter.project_slug}}/docker-compose.yml,sha256=meBOsqu-bGOl8IC8ICBZ-5xbOZmvn_24u2fteS3nGr8,13643
38
38
  fastapi_gen/template/{{cookiecutter.project_slug}}/.claude/settings.json,sha256=i6XfBDlx6N1AXg4-MrjmIzPhxRXvQC9PRXJFZyfNs1Y,363
39
39
  fastapi_gen/template/{{cookiecutter.project_slug}}/.claude/commands/add-endpoint.md,sha256=p0EsXDvW23v4uOSPRlwA84nVrB7_VVL_FnKFEE442AQ,1648
40
40
  fastapi_gen/template/{{cookiecutter.project_slug}}/.claude/commands/fix-issue.md,sha256=3bcQwYzf_EXTit9nlkplUd0-G5T9-gGranogIDS_kjU,800
@@ -54,7 +54,7 @@ fastapi_gen/template/{{cookiecutter.project_slug}}/.claude/skills/channel-bot/SK
54
54
  fastapi_gen/template/{{cookiecutter.project_slug}}/.claude/skills/frontend-feature/SKILL.md,sha256=Nn-JVLiS6KBLXcQ5ePoJ5U2CnlENsRev9qT879r2r-0,2761
55
55
  fastapi_gen/template/{{cookiecutter.project_slug}}/.claude/skills/pytest-suite/SKILL.md,sha256=1h0AiPBxFxzXayGLdz_Yw6zdNCvvrIU8yZvG6Cjuy9Y,2523
56
56
  fastapi_gen/template/{{cookiecutter.project_slug}}/.claude/skills/rag-knowledge/SKILL.md,sha256=idONRjVqfUYLEE07ne9jHY56YjO6JLWINzTFgD1-kjk,3081
57
- fastapi_gen/template/{{cookiecutter.project_slug}}/.github/workflows/ci.yml,sha256=BGEXIL1HhomWCjymRsAVfztf8N-VShRdbmeKkJeIe90,4769
57
+ fastapi_gen/template/{{cookiecutter.project_slug}}/.github/workflows/ci.yml,sha256=sPUWvlV-8XrjE0KLbaJ3BXWiyqtzCVXnxNLpE6asQWU,4769
58
58
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/.dockerignore,sha256=_iRaYQqTvt8_2yhJZUp60PPaL5XLiUFg0OSa-J_9XIQ,523
59
59
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/.env.example,sha256=xjNr943EoYc2Z_agIia29o3YxQTfKGKLfYw5atC6hNo,12851
60
60
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/.pre-commit-config.yaml,sha256=22sYeJOrYywl_5PWgPzCyIwhpqmymIDIzx2hlBRQ-yI,681
@@ -230,7 +230,7 @@ fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/repositories/subs
230
230
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/repositories/sync_log.py,sha256=OvRWm90MlfJ-lrljtU-71NoOVbqn4guHm99LMQe3qo4,2562
231
231
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/repositories/sync_source.py,sha256=nCGKUgOUpCEBNEySqdKgZyf_GBKBgtYfFsCco_WykTc,3846
232
232
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/repositories/usage_event.py,sha256=R9BqsRQTgqmxQOyKdr12dcrrkEWUoAMEy_4gWbfHJsE,5367
233
- fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/repositories/user.py,sha256=UXpGdMKKScgC9yCHG_Hmlfhahk-b4taSydrZPG3AnyE,6172
233
+ fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/repositories/user.py,sha256=bG0sNbbBgugASSp6LDp_NVBw7bcaHm0suhmuLYY-Q6U,6203
234
234
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/repositories/user_slash_command.py,sha256=85ANcoeRNFQE08t8-iuh9XJqpgVYB9fy-E2f5kt6QY0,2121
235
235
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/repositories/webhook.py,sha256=gEjUe-xVHvUOTD4tTJxr0SDiHAaJ-DtUN_TZlqlIjXA,3969
236
236
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/schemas/__init__.py,sha256=gAqdgjm0KBxNSEsFthF6URbtPjdEBuQpna_2q9wcMrQ,1996
@@ -329,7 +329,7 @@ fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/services/rag/inge
329
329
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/services/rag/models.py,sha256=nSKRPTC38c5ZRvscKxiETE_Kh0LZxJOQZQn-iDuhCGo,3227
330
330
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/services/rag/reranker.py,sha256=HmzukI24UJLizSSENofqxCA8o5G9KKYRsbi6L0y3MEs,8847
331
331
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/services/rag/retrieval.py,sha256=01zLSFj4qbA-Ytu48igtaa-EAS8D9yrAjYKc5i-BFfw,9650
332
- fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/services/rag/vectorstore.py,sha256=mkas1Hxj56FAmyCmdYzfVx_MOg-icASG2VlelKLoDZA,28302
332
+ fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/services/rag/vectorstore.py,sha256=2wkPl6OVZ9cdtS_l7ZQ5jxbZw4n8hjpEfxRT4VmOYPo,28398
333
333
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/services/rag/connectors/__init__.py,sha256=YRggWgNzfm77aqpu-LDlfq7jP-D-YtmeRNQAD1cQiLU,2361
334
334
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/services/rag/connectors/google_drive.py,sha256=CHSRHTH59fKNB6qndsmBtHZqB5ihFLUiSfBGqvXtAq4,7801
335
335
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/app/services/rag/connectors/s3.py,sha256=lVz2n5vX6WPSVjsdvR9PvOUM9WYKEr0V3rhAlSIkckw,5323
@@ -367,7 +367,7 @@ fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_chart_tool
367
367
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_clients.py,sha256=qKU2z4YVQMWdnNE9aH5lnACsdzQ1G4fcE9_sK8x7K2U,6282
368
368
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_commands.py,sha256=G7pRJgk0pDQRBIFUIhi0bbDnujwKcWCjCP9Q1D9TzYA,4894
369
369
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_conversation_kb_toggle.py,sha256=ZDlX1lMuLl4q41g0f8IE0oPt3lbca4an_8c19Z1xyo8,3888
370
- fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_conversation_resume.py,sha256=593RkGdKXer2kX_-KaLSwuc_uQn2F1HRL29fI_SvH40,6139
370
+ fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_conversation_resume.py,sha256=FVcZmYGf3uG-2OpBf4W2vQe-qQtKP9qobLYS5XPDy9s,6371
371
371
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_conversation_write_access.py,sha256=1srJF_IkCMZxoSxnEqN7YW2LSZzDo0tkXQ-1i_RaesM,4561
372
372
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_core.py,sha256=dF_RgCNrHnI3PqhOVqqcYg_XgcDPCmkR_YWw6POCngw,5973
373
373
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_deep_research_streaming.py,sha256=5I5D3GcGTcvUU4a-3ohOegUlsQmuYQkkL4OB1FSNqoo,2772
@@ -379,7 +379,7 @@ fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_memory_cha
379
379
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_memory_postgres.py,sha256=aZcaCFkefQwqZiyioKF8Iot-TbC9IKu-ETZMeksGVsc,4868
380
380
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_migrations.py,sha256=wf0DEAT8-WIe9YT7PZ6zUUN68OjLC1D8vQJZrfkLJ8Y,3946
381
381
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_openai_compatible.py,sha256=B2lxdMq6jp8s6vWGBqlIm-ZT7fFR1nmuSFtWRMnt0ak,2123
382
- fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_pydantic_deep_history.py,sha256=8DVGxSYr98AzDA-bJcJZ-GuPEDu2ynpxUitB-TlVgyA,5833
382
+ fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_pydantic_deep_history.py,sha256=Vl9bkzbpBrX6D4NMU8ZOldvvDlwE4OabHZCeN-QVONU,6065
383
383
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_rbac_teams.py,sha256=ryLOK_4YMtSBfRqeVFEnvcQXoGkQEpDrX0OAsCmm-v8,7037
384
384
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_repositories.py,sha256=uQHtc5I5OZpWnO7rC1Y8C7uw1WZWtG_HNWwxpI2OhtM,1286
385
385
  fastapi_gen/template/{{cookiecutter.project_slug}}/backend/tests/test_repositories_teams.py,sha256=bIvtIATkynFWyvi81zXphiVyFf1cWu6qgRiB-EQzgMo,9675
@@ -944,8 +944,8 @@ fastapi_gen/template/{{cookiecutter.project_slug}}/kubernetes/service.yaml,sha25
944
944
  fastapi_gen/template/{{cookiecutter.project_slug}}/nginx/nginx.conf,sha256=2bWaxnv_rN4driEdtWgVz9eVfoKhB_Ohd_G8eOC3P3M,7619
945
945
  fastapi_gen/template/{{cookiecutter.project_slug}}/nginx/ssl/.gitkeep,sha256=o_WQQOgVGOLttT48x0EXSC4BbbDFemApFpmwhybcVUU,617
946
946
  fastapi_gen/template/{{cookiecutter.project_slug}}/scripts/export_demo_html.py,sha256=H1tbIfr1xrh2pRuoy5NwvAOYEu0S2vgnw_XsKNMKXeM,10414
947
- fastapi_fullstack-0.2.21.dist-info/METADATA,sha256=dnLShNPQ-TzouakLsKIBenWSCX-EgLK2n7SfgeZklrE,62263
948
- fastapi_fullstack-0.2.21.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
949
- fastapi_fullstack-0.2.21.dist-info/entry_points.txt,sha256=s9JXrISZp8LMYJGeVofOAd1wPTzpq-jwjSgSf4hWzjs,59
950
- fastapi_fullstack-0.2.21.dist-info/licenses/LICENSE,sha256=bL4JuK_rcA8y__Gg7PEuTs3g2Qf6VvSz2w2Jajd6nVU,1063
951
- fastapi_fullstack-0.2.21.dist-info/RECORD,,
947
+ fastapi_fullstack-0.2.22.dist-info/METADATA,sha256=00cqQL3JYJwB6sKNaDVPz1cWk9Visi_bR-wXfO9Cv8c,62330
948
+ fastapi_fullstack-0.2.22.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
949
+ fastapi_fullstack-0.2.22.dist-info/entry_points.txt,sha256=s9JXrISZp8LMYJGeVofOAd1wPTzpq-jwjSgSf4hWzjs,59
950
+ fastapi_fullstack-0.2.22.dist-info/licenses/LICENSE,sha256=bL4JuK_rcA8y__Gg7PEuTs3g2Qf6VvSz2w2Jajd6nVU,1063
951
+ fastapi_fullstack-0.2.22.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.32.4
2
+ Generator: hatchling 1.33.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
fastapi_gen/generator.py CHANGED
@@ -77,7 +77,8 @@ def generate_project(config: ProjectConfig, output_dir: Path | None = None) -> P
77
77
 
78
78
  # Check if target directory already exists and is not empty
79
79
  target_dir = output_dir / config.project_slug
80
- if target_dir.exists() and any(target_dir.iterdir()):
80
+ target_dir_exists = target_dir.exists()
81
+ if target_dir_exists and any(target_dir.iterdir()):
81
82
  raise ValueError(f"Directory '{target_dir}' already exists and is not empty")
82
83
 
83
84
  context = config.to_cookiecutter_context()
@@ -97,6 +98,7 @@ def generate_project(config: ProjectConfig, output_dir: Path | None = None) -> P
97
98
  extra_context=context,
98
99
  output_dir=str(output_dir),
99
100
  no_input=True,
101
+ overwrite_if_exists=target_dir_exists,
100
102
  )
101
103
  write_manifest(Path(project_path), context)
102
104
  except Exception:
@@ -79,7 +79,6 @@ def remove_file(path: str) -> None:
79
79
  """Remove a file if it exists."""
80
80
  if os.path.exists(path):
81
81
  os.remove(path)
82
- print(f" Removed: {os.path.relpath(path)}")
83
82
 
84
83
 
85
84
  def read_text(filepath: str) -> str:
@@ -121,7 +120,6 @@ def remove_dir(path: str) -> None:
121
120
  """Remove a directory if it exists."""
122
121
  if os.path.exists(path):
123
122
  shutil.rmtree(path)
124
- print(f" Removed: {os.path.relpath(path)}/")
125
123
 
126
124
 
127
125
  backend_app = os.path.join(os.getcwd(), "backend", "app")
@@ -751,7 +749,7 @@ else:
751
749
  "NEXT_PUBLIC_BRAND_LOGO_URL=",
752
750
  ])
753
751
 
754
- with open(frontend_env_local, "w") as f:
752
+ with open(frontend_env_local, "w", encoding="utf-8") as f:
755
753
  f.write("\n".join(env_lines) + "\n")
756
754
  print("Generated frontend/.env.local")
757
755
 
@@ -14,7 +14,7 @@ jobs:
14
14
  - uses: actions/checkout@v7
15
15
 
16
16
  - name: Install uv
17
- uses: astral-sh/setup-uv@v10.2.0
17
+ uses: astral-sh/setup-uv@v10.4.0
18
18
  with:
19
19
  version: "latest"
20
20
 
@@ -65,7 +65,7 @@ jobs:
65
65
  - uses: actions/checkout@v7
66
66
 
67
67
  - name: Install uv
68
- uses: astral-sh/setup-uv@v10.2.0
68
+ uses: astral-sh/setup-uv@v10.4.0
69
69
  with:
70
70
  version: "latest"
71
71
 
@@ -138,7 +138,7 @@ jobs:
138
138
  - uses: actions/checkout@v7
139
139
 
140
140
  - name: Install uv
141
- uses: astral-sh/setup-uv@v10.2.0
141
+ uses: astral-sh/setup-uv@v10.4.0
142
142
  with:
143
143
  version: "latest"
144
144
 
@@ -4,7 +4,8 @@
4
4
  from typing import Any
5
5
  from uuid import UUID
6
6
 
7
- from sqlalchemy import delete as sql_delete, func, literal, select
7
+ from sqlalchemy import asc, desc, func, literal, select
8
+ from sqlalchemy import delete as sql_delete
8
9
  from sqlalchemy.ext.asyncio import AsyncSession
9
10
 
10
11
  from app.db.models.user import User
@@ -202,7 +203,7 @@ async def admin_list_with_counts(
202
203
  "conversations": conv_count_col,
203
204
  }
204
205
  sort_col = sort_columns.get(sort_by, User.created_at)
205
- sort_col = sort_col.desc() if sort_dir == "desc" else sort_col.asc()
206
+ sort_col = desc(sort_col) if sort_dir == "desc" else asc(sort_col)
206
207
  query = query.order_by(sort_col).offset(skip).limit(limit)
207
208
 
208
209
  total = await db.scalar(count_query) or 0
@@ -300,12 +300,13 @@ class QdrantVectorStore(BaseVectorStore):
300
300
  )
301
301
  return [
302
302
  SearchResult(
303
- content=hit.payload.get("content", ""),
303
+ content=payload.get("content", ""),
304
304
  score=hit.score,
305
- metadata=hit.payload.get("metadata", {}),
306
- parent_doc_id=hit.payload.get("parent_doc_id"),
305
+ metadata=payload.get("metadata", {}),
306
+ parent_doc_id=payload.get("parent_doc_id"),
307
307
  )
308
308
  for hit in results
309
+ if (payload := hit.payload) is not None
309
310
  ]
310
311
 
311
312
  async def get_collection_info(self, collection_name: str) -> CollectionInfo:
@@ -332,8 +333,9 @@ class QdrantVectorStore(BaseVectorStore):
332
333
  await self._ensure_collection(collection_name)
333
334
  records, _ = await self.client.scroll(collection_name=collection_name, limit=10000, with_payload=True)
334
335
  results = [
335
- {"parent_doc_id": r.payload.get("parent_doc_id"), "metadata": r.payload.get("metadata", {})}
336
- for r in records
336
+ {"parent_doc_id": payload.get("parent_doc_id"), "metadata": payload.get("metadata", {})}
337
+ for record in records
338
+ if (payload := record.payload) is not None
337
339
  ]
338
340
  return self._group_documents(results)
339
341
 
@@ -29,7 +29,11 @@ def _prompts(messages: list[ModelMessage]) -> list[str]:
29
29
  for message in messages
30
30
  if isinstance(message, ModelRequest)
31
31
  for part in message.parts
32
- if isinstance(part, UserPromptPart) and isinstance(part.content, str)
32
+ if isinstance(part, UserPromptPart)
33
+ and isinstance(part.content, str)
34
+ # The harness adds its memory trust marker as a user-role message
35
+ # for providers that cannot insert a system message mid-history.
36
+ and not part.content.startswith("<system>The accompanying <memory>")
33
37
  ]
34
38
 
35
39
 
@@ -36,7 +36,11 @@ def _prompts(messages: list[ModelMessage]) -> list[str]:
36
36
  for message in messages
37
37
  if isinstance(message, ModelRequest)
38
38
  for part in message.parts
39
- if isinstance(part, UserPromptPart) and isinstance(part.content, str)
39
+ if isinstance(part, UserPromptPart)
40
+ and isinstance(part.content, str)
41
+ # The harness adds its memory trust marker as a user-role message
42
+ # for providers that cannot insert a system message mid-history.
43
+ and not part.content.startswith("<system>The accompanying <memory>")
40
44
  ]
41
45
 
42
46
 
@@ -123,7 +123,7 @@ services:
123
123
  {%- if cookiecutter.use_milvus %}
124
124
 
125
125
  etcd:
126
- image: quay.io/coreos/etcd:v3.7.2
126
+ image: quay.io/coreos/etcd:v3.7.4
127
127
  container_name: {{ cookiecutter.project_slug }}_etcd
128
128
  command: >
129
129
  etcd --advertise-client-urls http://etcd:2379
@@ -162,7 +162,7 @@ services:
162
162
  restart: unless-stopped
163
163
 
164
164
  milvus:
165
- image: milvusdb/milvus:v2.6.25
165
+ image: milvusdb/milvus:v2.6.27
166
166
  container_name: {{ cookiecutter.project_slug }}_milvus
167
167
  command: ["milvus", "run", "standalone"]
168
168
  ports:
@@ -196,7 +196,7 @@ services:
196
196
  {%- if cookiecutter.use_qdrant %}
197
197
 
198
198
  qdrant:
199
- image: qdrant/qdrant:v1.19.2
199
+ image: qdrant/qdrant:v1.20.2
200
200
  container_name: {{ cookiecutter.project_slug }}_qdrant
201
201
  ports:
202
202
  - "6333:6333"
@@ -47,7 +47,7 @@
47
47
  services:
48
48
  {%- if cookiecutter.include_traefik_service %}
49
49
  traefik:
50
- image: traefik:v3.7
50
+ image: traefik:v3.8
51
51
  container_name: {{ cookiecutter.project_slug }}_traefik
52
52
  command:
53
53
  - "--api.dashboard=true"
@@ -273,7 +273,7 @@ services:
273
273
  {%- if cookiecutter.use_milvus %}
274
274
 
275
275
  etcd:
276
- image: quay.io/coreos/etcd:v3.7.2
276
+ image: quay.io/coreos/etcd:v3.7.4
277
277
  container_name: {{ cookiecutter.project_slug }}_etcd
278
278
  volumes:
279
279
  - etcd_data:/var/lib/etcd
@@ -316,7 +316,7 @@ services:
316
316
  memory: 256M
317
317
 
318
318
  milvus:
319
- image: milvusdb/milvus:v2.6.25
319
+ image: milvusdb/milvus:v2.6.27
320
320
  container_name: {{ cookiecutter.project_slug }}_milvus
321
321
  command: ["milvus", "run", "standalone"]
322
322
  # NO external ports - only accessible within backend-internal network
@@ -351,7 +351,7 @@ services:
351
351
  {%- if cookiecutter.use_qdrant %}
352
352
 
353
353
  qdrant:
354
- image: qdrant/qdrant:v1.19.2
354
+ image: qdrant/qdrant:v1.20.2
355
355
  container_name: {{ cookiecutter.project_slug }}_qdrant
356
356
  # NO external ports in production - only accessible within backend-internal network
357
357
  volumes:
@@ -125,7 +125,7 @@ services:
125
125
  {%- if cookiecutter.use_milvus %}
126
126
 
127
127
  etcd:
128
- image: quay.io/coreos/etcd:v3.7.2
128
+ image: quay.io/coreos/etcd:v3.7.4
129
129
  container_name: {{ cookiecutter.project_slug }}_etcd
130
130
  command: >
131
131
  etcd --advertise-client-urls http://etcd:2379
@@ -164,7 +164,7 @@ services:
164
164
  restart: unless-stopped
165
165
 
166
166
  milvus:
167
- image: milvusdb/milvus:v2.6.25
167
+ image: milvusdb/milvus:v2.6.27
168
168
  container_name: {{ cookiecutter.project_slug }}_milvus
169
169
  command: ["milvus", "run", "standalone"]
170
170
  ports:
@@ -198,7 +198,7 @@ services:
198
198
  {%- if cookiecutter.use_qdrant %}
199
199
 
200
200
  qdrant:
201
- image: qdrant/qdrant:v1.19.2
201
+ image: qdrant/qdrant:v1.20.2
202
202
  container_name: {{ cookiecutter.project_slug }}_qdrant
203
203
  ports:
204
204
  - "6333:6333"