amfs-http-server 0.3.7__tar.gz → 0.3.9__tar.gz
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.
- {amfs_http_server-0.3.7 → amfs_http_server-0.3.9}/.gitignore +3 -0
- {amfs_http_server-0.3.7 → amfs_http_server-0.3.9}/PKG-INFO +1 -1
- {amfs_http_server-0.3.7 → amfs_http_server-0.3.9}/pyproject.toml +1 -1
- {amfs_http_server-0.3.7 → amfs_http_server-0.3.9}/src/amfs_http/models.py +6 -0
- {amfs_http_server-0.3.7 → amfs_http_server-0.3.9}/src/amfs_http/server.py +853 -118
- {amfs_http_server-0.3.7 → amfs_http_server-0.3.9}/src/amfs_http/sse.py +14 -1
- {amfs_http_server-0.3.7 → amfs_http_server-0.3.9}/src/amfs_http/__init__.py +0 -0
- {amfs_http_server-0.3.7 → amfs_http_server-0.3.9}/src/amfs_http/auth.py +0 -0
- {amfs_http_server-0.3.7 → amfs_http_server-0.3.9}/src/amfs_http/openrouter_proxy.py +0 -0
- {amfs_http_server-0.3.7 → amfs_http_server-0.3.9}/src/amfs_http/pro_provider.py +0 -0
- {amfs_http_server-0.3.7 → amfs_http_server-0.3.9}/src/amfs_http/pro_proxy.py +0 -0
- {amfs_http_server-0.3.7 → amfs_http_server-0.3.9}/src/amfs_http/tenant_middleware.py +0 -0
|
@@ -39,6 +39,9 @@ class SearchRequest(BaseModel):
|
|
|
39
39
|
sort_by: str = "confidence"
|
|
40
40
|
branch: str = "main"
|
|
41
41
|
depth: int = 3
|
|
42
|
+
# When True (default) artifacts are demoted to the bottom of results; when
|
|
43
|
+
# False they are excluded entirely.
|
|
44
|
+
include_artifacts: bool = True
|
|
42
45
|
|
|
43
46
|
|
|
44
47
|
class RetrieveRequest(BaseModel):
|
|
@@ -57,6 +60,9 @@ class RetrieveRequest(BaseModel):
|
|
|
57
60
|
recency_weight: float = 0.3
|
|
58
61
|
confidence_weight: float = 0.2
|
|
59
62
|
branch: str = "main"
|
|
63
|
+
# When True (default) artifacts (stored source files) are demoted but still
|
|
64
|
+
# returned; when False they are excluded entirely from results.
|
|
65
|
+
include_artifacts: bool = True
|
|
60
66
|
|
|
61
67
|
|
|
62
68
|
class ContextRequest(BaseModel):
|