mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
fix(parallel_ai): register the extract route with the gateway allowlist and types
Three CI failures from adding the route: - test_gateway_plus_backend_covers_full_app requires every app route to be exposed by a component; /parallel_ai/ joins the pass-through prefixes. - The route appears in the proxy OpenAPI spec, so the dashboard types gain the path and its operation. - tests/.../parallel_ai/extract/ had no __init__.py while its parent package does, so pytest named the module by basename alone and it collided with fal_ai/test_cost_calculator.py.
This commit is contained in:
parent
52e7ea4332
commit
8dce2171d6
3 changed files with 38 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ GATEWAY_PATH_PREFIXES: tuple[str, ...] = (
|
|||
"/langfuse/",
|
||||
"/vllm/",
|
||||
"/mistral/",
|
||||
"/parallel_ai/",
|
||||
"/groq/",
|
||||
"/voyage/",
|
||||
"/cursor/",
|
||||
|
|
|
|||
0
tests/test_litellm/llms/parallel_ai/extract/__init__.py
Normal file
0
tests/test_litellm/llms/parallel_ai/extract/__init__.py
Normal file
37
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
37
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
|
|
@ -9842,6 +9842,23 @@ export interface paths {
|
|||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/parallel_ai/v1/extract": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
get?: never;
|
||||
put?: never;
|
||||
/** Parallel Ai Extract Proxy Route */
|
||||
post: operations["parallel_ai_extract_proxy_route_parallel_ai_v1_extract_post"];
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/plugin-proxy/{plugin_name}/{path}": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
|
|
@ -49691,6 +49708,26 @@ export interface operations {
|
|||
};
|
||||
};
|
||||
};
|
||||
parallel_ai_extract_proxy_route_parallel_ai_v1_extract_post: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: never;
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": unknown;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
plugin_proxy_plugin_proxy__plugin_name___path__get: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue