caption: add image analyze

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-05-14 13:16:26 +02:00
parent d1dd44071a
commit 8bf7ddffe3
13 changed files with 432 additions and 121 deletions
+6 -6
View File
@@ -35,17 +35,17 @@ This file is the route registration hub and must be treated as the source of tru
For every endpoint, verify in this order:
1. Route validation:
- Route method and path are valid and unique after subpath handling.
- Route method and path are valid and unique after subpath handling.
2. Handler validation:
- Handler call signature is compatible with the route declaration.
- Handler call signature is compatible with the route declaration.
3. Request signature validation:
- Request body or query params implied by handler type hints are consistent with expected client usage.
- Request body or query params implied by handler type hints are consistent with expected client usage.
4. Response signature validation:
- Declared `response_model` is coherent with returned payload shape.
- Declared `response_model` is coherent with returned payload shape.
5. Auth validation:
- Authentication behavior is intentional (`auth=True` default in `add_api_route`).
- Authentication behavior is intentional (`auth=True` default in `add_api_route`).
6. OpenAPI validation:
- OpenAPI schema exposure is correct (including trailing-slash duplicate suppression).
- OpenAPI schema exposure is correct (including trailing-slash duplicate suppression).
## Procedure
+3 -3
View File
@@ -76,9 +76,9 @@ If targets are missing, ask for paths before editing.
Extract from user prompt:
- desired depth mode:
- syntax-only: fix markdown syntax/rendering issues only; do not rewrite wording or structure beyond what syntax requires
- readability: include syntax fixes plus clarity and scanability edits without broad restructuring
- full pass: include syntax, readability, structure normalization, terminology consistency, and broader doc cleanup
- syntax-only: fix markdown syntax/rendering issues only; do not rewrite wording or structure beyond what syntax requires
- readability: include syntax fixes plus clarity and scanability edits without broad restructuring
- full pass: include syntax, readability, structure normalization, terminology consistency, and broader doc cleanup
If depth is missing, default to readability and state that assumption.