Update
Browse filesFiles changed (18)
- .dockerignore+34-3
- .gitignore+87-2
- Dockerfile+14-9
- README_INTEGRATION.mdDeleted-138
- client/package.json+3-3
- client/src/generated/index.tsDeleted-4
- client/src/generated/schemas.gen.tsDeleted-196
- client/src/generated/services.gen.tsDeleted-164
- client/src/generated/types.gen.tsDeleted-151
- openapi.jsonDeleted-692
- pyproject.toml+2-2
- src/inference_server.egg-info/PKG-INFO+1-1
- src/inference_server.egg-info/requires.txt+1-1
- src/inference_server/__pycache__/session_manager.cpython-312.pyc
- src/inference_server/__pycache__/session_manager.cpython-313.pyc
- src/inference_server/session_manager.py+2-2
- test_integration.pyDeleted-140
- uv.lock+4-4
35 unmodified lines3637383940414 unmodified lines4647484950515253545556575859603 unmodified lines64656667686926 unmodified lines969798991001012 unmodified lines10410510610735 unmodified lines*.swp*.swo*~# OS generated files.DS_Store4 unmodified linesehthumbs.dbThumbs.db# Git.git/.gitignore.gitattributes# DocumentationREADME.md*.mddocs/# Test filestests/3 unmodified lines.coveragehtmlcov/.tox/# Logs*.log26 unmodified lines.gitlab-ci.yml.travis.yml.circleci/# Large files that shouldn't be in container*.mp42 unmodified lines*.mkv*.h264*.h265recordings/35 unmodified lines363738394041424 unmodified lines4748495051525354555657585960616263646566673 unmodified lines7172737475767778798026 unmodified lines1071081091101111121131141151162 unmodified lines11912012112212312412512612712812913013113213313413513613713835 unmodified lines*.swp*.swo*~.cursor/# OS generated files.DS_Store4 unmodified linesehthumbs.dbThumbs.db# Git (including submodule git directories).git/.gitignore.gitattributes.gitmodulesexternal/*/.git/external/*/.github/external/*/.gitignoreexternal/*/.gitattributes# DocumentationREADME.mddocs/# Note: Keep README.md for submodules as they may be needed by build systemsexternal/*/docs/# Test filestests/3 unmodified lines.coveragehtmlcov/.tox/external/*/tests/external/*/test_*external/*/*_test.pyexternal/*/.pytest_cache/# Logs*.log26 unmodified lines.gitlab-ci.yml.travis.yml.circleci/external/*/.github/external/*/.gitlab-ci.ymlexternal/*/.travis.ymlexternal/*/.circleci/# Large files that shouldn't be in container*.mp42 unmodified lines*.mkv*.h264*.h265recordings/# Submodule specific exclusionsexternal/*/media/external/*/benchmarks/external/*/examples/external/*/demo/external/*/client/examples/external/lerobot/docker/external/*/Makefileexternal/*/.pre-commit-config.yamlexternal/*/.dockerignoreexternal/*/Dockerfile*external/*/test-docker.sh# Development packages directorypackages/
12./packages./checkpoints123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687# Python cache and build artifacts__pycache__/*.py[cod]*$py.class*.so.Pythonbuild/develop-eggs/dist/downloads/eggs/.eggs/lib/lib64/parts/sdist/var/wheels/*.egg-info/.installed.cfg*.eggMANIFEST# Virtual environments.env.venvenv/venv/ENV/env.bak/venv.bak/# UV cache and lock files (keep uv.lock in git).uv/# IDE and editor files.vscode/.idea/*.swp*.swo*~.cursor/# OS generated files.DS_Store.DS_Store?._*.Spotlight-V100.Trashesehthumbs.dbThumbs.db# Test files.pytest_cache/.coveragehtmlcov/.tox/# Model checkpoints (downloaded at runtime)checkpoints/# Local packages directorypackages/# Environment files.env.local.env.development.env.test# Logs*.loglogs/# Temporary files*.tmp*.temptmp/temp/# Large media files*.mp4*.avi*.mov*.mkv*.h264*.h265recordings/
1234567891023 unmodified lines343536373839404142434445464748495051523 unmodified lines565758596061626364# Use official UV base image with Python 3.12FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim# Set environment variables for PythonENV PYTHONUNBUFFERED=1 \PYTHONDONTWRITEBYTECODE=1 \UV_SYSTEM_PYTHON=1 \UV_CACHE_DIR=/tmp/uv-cache# Install system dependencies23 unmodified lines# Set working directoryWORKDIR /app# Copy dependency filesCOPY --chown=appuser:appuser pyproject.toml ./# Copy the external python client dependencyCOPY --chown=appuser:appuser external/ ./external/# Install Python dependencies (without --frozen to regenerate lock)RUN --mount=type=cache,target=/tmp/uv-cache \uv sync --no-dev# Copy the entire projectCOPY --chown=appuser:appuser . .# Switch to non-root userUSER appuser3 unmodified lines# Expose port 7860 (HuggingFace Spaces default)EXPOSE 7860# Health check using activated virtual environment (FastAPI health endpoint)HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:7860/api/health')" || exit 1# Run the application with activated virtual environmentCMD ["python", "launch_simple.py", "--host", "0.0.0.0", "--port", "7860"]123456789101123 unmodified lines35363738394041424344454647484950515253545556573 unmodified lines616263646566676869# Use official UV base image with Python 3.12FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim# Set environment variables for Python and UVENV PYTHONUNBUFFERED=1 \PYTHONDONTWRITEBYTECODE=1 \UV_SYSTEM_PYTHON=1 \UV_COMPILE_BYTECODE=1 \UV_CACHE_DIR=/tmp/uv-cache# Install system dependencies23 unmodified lines# Set working directoryWORKDIR /app# Copy dependency files for better layer cachingCOPY --chown=appuser:appuser pyproject.toml uv.lock* ./# Copy external dependencies (submodules) needed for dependency resolutionCOPY --chown=appuser:appuser external/ ./external/# Install dependencies first (better caching)RUN --mount=type=cache,target=/tmp/uv-cache \uv sync --locked --no-install-project --no-dev# Copy the rest of the applicationCOPY --chown=appuser:appuser . .# Install the project in non-editable mode for productionRUN --mount=type=cache,target=/tmp/uv-cache \uv sync --locked --no-editable --no-dev# Switch to non-root userUSER appuser3 unmodified lines# Expose port 7860 (HuggingFace Spaces default)EXPOSE 7860# Health checkHEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:7860/api/health')" || exit 1# Run the applicationCMD ["python", "launch_simple.py", "--host", "0.0.0.0", "--port", "7860"]
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138# π€ Integrated Inference Server
This is an integrated ACT Model Inference Server that combines **FastAPI** and **Gradio** on a single port, perfect for deployment and development.
## π Quick Start
```bash# Install dependenciesuv sync
# Run the integrated serveruv run python launch_simple.py --host 0.0.0.0 --port 7860```
## π‘ Access Points
Once running, you can access:
- **π¨ Gradio UI**: http://localhost:7860/- **π API Documentation**: http://localhost:7860/api/docs - **π Health Check**: http://localhost:7860/api/health- **π OpenAPI Schema**: http://localhost:7860/api/openapi.json
## ποΈ Architecture
### Integration Approach- **Single Process**: Everything runs in one Python process- **Single Port**: Both API and UI on the same port (7860)- **FastAPI at `/api`**: Full REST API with automatic documentation- **Gradio at `/`**: User-friendly web interface- **Direct Session Management**: UI communicates directly with session manager (no HTTP overhead)
### Key Components
1. **`simple_integrated.py`**: Main integration logic - Creates FastAPI app and mounts it at `/api` - Creates Gradio interface and mounts it at `/` - Provides `SimpleServerManager` for direct session access
2. **`launch_simple.py`**: Entry point script - Handles command-line arguments - Starts the integrated application
3. **`main.py`**: Core FastAPI application - Session management endpoints - Policy loading and inference - OpenAPI documentation
## π§ Features
### For UI Users- β
**Simple Interface**: Create and manage AI sessions through web UI- β
**Real-time Status**: Live session monitoring and control- β
**Direct Performance**: No HTTP overhead for UI operations
### For API Users - β
**Full REST API**: Complete programmatic access- β
**Interactive Docs**: Automatic Swagger/OpenAPI documentation- β
**Standard Endpoints**: `/sessions`, `/health`, etc.- β
**CORS Enabled**: Ready for frontend integration
### For Deployment- β
**Single Port**: Easy to deploy behind reverse proxy- β
**Docker Ready**: Dockerfile included- β
**Health Checks**: Built-in monitoring endpoints- β
**HuggingFace Spaces**: Perfect for cloud deployment
## π API Usage Examples
### Health Check```bashcurl http://localhost:7860/api/health```
### Create Session```bashcurl -X POST http://localhost:7860/api/sessions \ -H "Content-Type: application/json" \ -d '{ "session_id": "my-robot", "policy_path": "./checkpoints/act_so101_beyond", "camera_names": ["front"], "arena_server_url": "http://localhost:8000" }'```
### Start Inference```bashcurl -X POST http://localhost:7860/api/sessions/my-robot/start```
### Get Session Status```bashcurl http://localhost:7860/api/sessions/my-robot```
## π³ Docker Usage
```bash# Builddocker build -t inference-server .
# Rundocker run -p 7860:7860 inference-server```
## π Testing
Run the integration test to verify everything works:
```bashuv run python test_integration.py```
## π‘ Development Tips
### Use Both Interfaces- **Development**: Use Gradio UI for quick testing and setup- **Production**: Use REST API for automated systems- **Integration**: Both can run simultaneously
### Session Management- UI uses direct session manager access (faster)- API uses HTTP endpoints (standard REST)- Both share the same underlying session data
### Debugging- Check logs for startup issues- Use `/api/health` to verify API is working- Visit `/api/docs` for interactive API testing
## π Benefits of This Approach
1. **Flexibility**: Use UI or API as needed2. **Performance**: Direct access for UI, standard REST for API3. **Deployment**: Single port, single process4. **Documentation**: Auto-generated API docs5. **Development**: Fast iteration with integrated setup 1234518 unmodified lines2425262728293023 unmodified lines54555657585960{"name": "@robohub/inference-server-client","version": "1.0.0","description": "TypeScript client for LeRobot Arena Inference Server - ACT model inference and session management","module": "dist/index.js",18 unmodified lines"test": "bun test","typecheck": "bunx tsc --noEmit","clean": "rm -rf dist src/generated","export-openapi": "cd .. && uv run python -m inference_server.export_openapi --output client/openapi.json","generate-client": "bunx @hey-api/openapi-ts -i openapi.json -o src/generated -c @hey-api/client-fetch","generate": "bun run export-openapi && bun run generate-client","prebuild": "bun run clean && bun run generate"23 unmodified lines},"repository": {"type": "git","url": "git+https://github.com/julien-blanchon/RoboHub.git#main:services/inference-server/client","directory": "services/inference-server/client"},"engines": {1234518 unmodified lines2425262728293023 unmodified lines54555657585960{"name": "@robothub/inference-server-client","version": "1.0.0","description": "TypeScript client for LeRobot Arena Inference Server - ACT model inference and session management","module": "dist/index.js",18 unmodified lines"test": "bun test","typecheck": "bunx tsc --noEmit","clean": "rm -rf dist src/generated","export-openapi": "cd .. && uv run --active python -m inference_server.export_openapi --output client/openapi.json","generate-client": "bunx @hey-api/openapi-ts -i openapi.json -o src/generated -c @hey-api/client-fetch","generate": "bun run export-openapi && bun run generate-client","prebuild": "bun run clean && bun run generate"23 unmodified lines},"repository": {"type": "git","url": "git+https://github.com/julien-blanchon/robothub.git#main:services/inference-server/client","directory": "services/inference-server/client"},"engines": {
1234// This file is auto-generated by @hey-api/openapi-tsexport * from './schemas.gen';export * from './services.gen';export * from './types.gen';123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196// This file is auto-generated by @hey-api/openapi-ts
export const CreateSessionRequestSchema = { properties: { session_id: { type: 'string', title: 'Session Id' }, policy_path: { type: 'string', title: 'Policy Path' }, camera_names: { items: { type: 'string' }, type: 'array', title: 'Camera Names', default: ['front'] }, arena_server_url: { type: 'string', title: 'Arena Server Url', default: 'http://localhost:8000' }, workspace_id: { anyOf: [ { type: 'string' }, { type: 'null' } ], title: 'Workspace Id' }, policy_type: { type: 'string', title: 'Policy Type', default: 'act' }, language_instruction: { anyOf: [ { type: 'string' }, { type: 'null' } ], title: 'Language Instruction' } }, type: 'object', required: ['session_id', 'policy_path'], title: 'CreateSessionRequest'} as const;
export const CreateSessionResponseSchema = { properties: { workspace_id: { type: 'string', title: 'Workspace Id' }, camera_room_ids: { additionalProperties: { type: 'string' }, type: 'object', title: 'Camera Room Ids' }, joint_input_room_id: { type: 'string', title: 'Joint Input Room Id' }, joint_output_room_id: { type: 'string', title: 'Joint Output Room Id' } }, type: 'object', required: ['workspace_id', 'camera_room_ids', 'joint_input_room_id', 'joint_output_room_id'], title: 'CreateSessionResponse'} as const;
export const HTTPValidationErrorSchema = { properties: { detail: { items: { '$ref': '#/components/schemas/ValidationError' }, type: 'array', title: 'Detail' } }, type: 'object', title: 'HTTPValidationError'} as const;
export const SessionStatusResponseSchema = { properties: { session_id: { type: 'string', title: 'Session Id' }, status: { type: 'string', title: 'Status' }, policy_path: { type: 'string', title: 'Policy Path' }, policy_type: { type: 'string', title: 'Policy Type' }, camera_names: { items: { type: 'string' }, type: 'array', title: 'Camera Names' }, workspace_id: { type: 'string', title: 'Workspace Id' }, rooms: { additionalProperties: true, type: 'object', title: 'Rooms' }, stats: { additionalProperties: true, type: 'object', title: 'Stats' }, inference_stats: { anyOf: [ { additionalProperties: true, type: 'object' }, { type: 'null' } ], title: 'Inference Stats' }, error_message: { anyOf: [ { type: 'string' }, { type: 'null' } ], title: 'Error Message' } }, type: 'object', required: ['session_id', 'status', 'policy_path', 'policy_type', 'camera_names', 'workspace_id', 'rooms', 'stats'], title: 'SessionStatusResponse'} as const;
export const ValidationErrorSchema = { properties: { loc: { items: { anyOf: [ { type: 'string' }, { type: 'integer' } ] }, type: 'array', title: 'Location' }, msg: { type: 'string', title: 'Message' }, type: { type: 'string', title: 'Error Type' } }, type: 'object', required: ['loc', 'msg', 'type'], title: 'ValidationError'} as const;123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164// This file is auto-generated by @hey-api/openapi-ts
import { createClient, createConfig, type Options } from '@hey-api/client-fetch';import type { RootGetError, RootGetResponse, HealthCheckHealthGetError, HealthCheckHealthGetResponse, ListPoliciesPoliciesGetError, ListPoliciesPoliciesGetResponse, ListSessionsSessionsGetError, ListSessionsSessionsGetResponse, CreateSessionSessionsPostData, CreateSessionSessionsPostError, CreateSessionSessionsPostResponse, GetSessionStatusSessionsSessionIdGetData, GetSessionStatusSessionsSessionIdGetError, GetSessionStatusSessionsSessionIdGetResponse, DeleteSessionSessionsSessionIdDeleteData, DeleteSessionSessionsSessionIdDeleteError, DeleteSessionSessionsSessionIdDeleteResponse, StartInferenceSessionsSessionIdStartPostData, StartInferenceSessionsSessionIdStartPostError, StartInferenceSessionsSessionIdStartPostResponse, StopInferenceSessionsSessionIdStopPostData, StopInferenceSessionsSessionIdStopPostError, StopInferenceSessionsSessionIdStopPostResponse, RestartInferenceSessionsSessionIdRestartPostData, RestartInferenceSessionsSessionIdRestartPostError, RestartInferenceSessionsSessionIdRestartPostResponse, GetSystemInfoDebugSystemGetError, GetSystemInfoDebugSystemGetResponse, GetRecentLogsDebugLogsGetError, GetRecentLogsDebugLogsGetResponse, DebugResetSessionDebugSessionsSessionIdResetPostData, DebugResetSessionDebugSessionsSessionIdResetPostError, DebugResetSessionDebugSessionsSessionIdResetPostResponse, GetSessionQueueInfoDebugSessionsSessionIdQueueGetData, GetSessionQueueInfoDebugSessionsSessionIdQueueGetError, GetSessionQueueInfoDebugSessionsSessionIdQueueGetResponse } from './types.gen';
export const client = createClient(createConfig());
/** * Root * Health check endpoint. */export const rootGet = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => { return (options?.client ?? client).get<RootGetResponse, RootGetError, ThrowOnError>({ ...options, url: '/' });};
/** * Health Check * Detailed health check. */export const healthCheckHealthGet = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => { return (options?.client ?? client).get<HealthCheckHealthGetResponse, HealthCheckHealthGetError, ThrowOnError>({ ...options, url: '/health' });};
/** * List Policies * List supported policy types. */export const listPoliciesPoliciesGet = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => { return (options?.client ?? client).get<ListPoliciesPoliciesGetResponse, ListPoliciesPoliciesGetError, ThrowOnError>({ ...options, url: '/policies' });};
/** * List Sessions * List all sessions. */export const listSessionsSessionsGet = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => { return (options?.client ?? client).get<ListSessionsSessionsGetResponse, ListSessionsSessionsGetError, ThrowOnError>({ ...options, url: '/sessions' });};
/** * Create Session * Create a new inference session. * * If workspace_id is provided, all rooms will be created in that workspace. * If workspace_id is not provided, a new workspace will be generated automatically. * All rooms for a session (cameras + joints) are always created in the same workspace. */export const createSessionSessionsPost = <ThrowOnError extends boolean = false>(options: Options<CreateSessionSessionsPostData, ThrowOnError>) => { return (options?.client ?? client).post<CreateSessionSessionsPostResponse, CreateSessionSessionsPostError, ThrowOnError>({ ...options, url: '/sessions' });};
/** * Get Session Status * Get status of a specific session. */export const getSessionStatusSessionsSessionIdGet = <ThrowOnError extends boolean = false>(options: Options<GetSessionStatusSessionsSessionIdGetData, ThrowOnError>) => { return (options?.client ?? client).get<GetSessionStatusSessionsSessionIdGetResponse, GetSessionStatusSessionsSessionIdGetError, ThrowOnError>({ ...options, url: '/sessions/{session_id}' });};
/** * Delete Session * Delete a session. */export const deleteSessionSessionsSessionIdDelete = <ThrowOnError extends boolean = false>(options: Options<DeleteSessionSessionsSessionIdDeleteData, ThrowOnError>) => { return (options?.client ?? client).delete<DeleteSessionSessionsSessionIdDeleteResponse, DeleteSessionSessionsSessionIdDeleteError, ThrowOnError>({ ...options, url: '/sessions/{session_id}' });};
/** * Start Inference * Start inference for a session. */export const startInferenceSessionsSessionIdStartPost = <ThrowOnError extends boolean = false>(options: Options<StartInferenceSessionsSessionIdStartPostData, ThrowOnError>) => { return (options?.client ?? client).post<StartInferenceSessionsSessionIdStartPostResponse, StartInferenceSessionsSessionIdStartPostError, ThrowOnError>({ ...options, url: '/sessions/{session_id}/start' });};
/** * Stop Inference * Stop inference for a session. */export const stopInferenceSessionsSessionIdStopPost = <ThrowOnError extends boolean = false>(options: Options<StopInferenceSessionsSessionIdStopPostData, ThrowOnError>) => { return (options?.client ?? client).post<StopInferenceSessionsSessionIdStopPostResponse, StopInferenceSessionsSessionIdStopPostError, ThrowOnError>({ ...options, url: '/sessions/{session_id}/stop' });};
/** * Restart Inference * Restart inference for a session. */export const restartInferenceSessionsSessionIdRestartPost = <ThrowOnError extends boolean = false>(options: Options<RestartInferenceSessionsSessionIdRestartPostData, ThrowOnError>) => { return (options?.client ?? client).post<RestartInferenceSessionsSessionIdRestartPostResponse, RestartInferenceSessionsSessionIdRestartPostError, ThrowOnError>({ ...options, url: '/sessions/{session_id}/restart' });};
/** * Get System Info * Get system information for debugging. */export const getSystemInfoDebugSystemGet = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => { return (options?.client ?? client).get<GetSystemInfoDebugSystemGetResponse, GetSystemInfoDebugSystemGetError, ThrowOnError>({ ...options, url: '/debug/system' });};
/** * Get Recent Logs * Get recent log entries for debugging. */export const getRecentLogsDebugLogsGet = <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => { return (options?.client ?? client).get<GetRecentLogsDebugLogsGetResponse, GetRecentLogsDebugLogsGetError, ThrowOnError>({ ...options, url: '/debug/logs' });};
/** * Debug Reset Session * Reset a session's internal state for debugging. */export const debugResetSessionDebugSessionsSessionIdResetPost = <ThrowOnError extends boolean = false>(options: Options<DebugResetSessionDebugSessionsSessionIdResetPostData, ThrowOnError>) => { return (options?.client ?? client).post<DebugResetSessionDebugSessionsSessionIdResetPostResponse, DebugResetSessionDebugSessionsSessionIdResetPostError, ThrowOnError>({ ...options, url: '/debug/sessions/{session_id}/reset' });};
/** * Get Session Queue Info * Get detailed information about a session's action queue. */export const getSessionQueueInfoDebugSessionsSessionIdQueueGet = <ThrowOnError extends boolean = false>(options: Options<GetSessionQueueInfoDebugSessionsSessionIdQueueGetData, ThrowOnError>) => { return (options?.client ?? client).get<GetSessionQueueInfoDebugSessionsSessionIdQueueGetResponse, GetSessionQueueInfoDebugSessionsSessionIdQueueGetError, ThrowOnError>({ ...options, url: '/debug/sessions/{session_id}/queue' });};123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151// This file is auto-generated by @hey-api/openapi-ts
export type CreateSessionRequest = { session_id: string; policy_path: string; camera_names?: Array<(string)>; arena_server_url?: string; workspace_id?: (string | null); policy_type?: string; language_instruction?: (string | null);};
export type CreateSessionResponse = { workspace_id: string; camera_room_ids: { [key: string]: (string); }; joint_input_room_id: string; joint_output_room_id: string;};
export type HTTPValidationError = { detail?: Array<ValidationError>;};
export type SessionStatusResponse = { session_id: string; status: string; policy_path: string; policy_type: string; camera_names: Array<(string)>; workspace_id: string; rooms: { [key: string]: unknown; }; stats: { [key: string]: unknown; }; inference_stats?: ({ [key: string]: unknown;} | null); error_message?: (string | null);};
export type ValidationError = { loc: Array<(string | number)>; msg: string; type: string;};
export type RootGetResponse = (unknown);
export type RootGetError = unknown;
export type HealthCheckHealthGetResponse = (unknown);
export type HealthCheckHealthGetError = unknown;
export type ListPoliciesPoliciesGetResponse = (unknown);
export type ListPoliciesPoliciesGetError = unknown;
export type ListSessionsSessionsGetResponse = (Array<SessionStatusResponse>);
export type ListSessionsSessionsGetError = unknown;
export type CreateSessionSessionsPostData = { body: CreateSessionRequest;};
export type CreateSessionSessionsPostResponse = (CreateSessionResponse);
export type CreateSessionSessionsPostError = (HTTPValidationError);
export type GetSessionStatusSessionsSessionIdGetData = { path: { session_id: string; };};
export type GetSessionStatusSessionsSessionIdGetResponse = (SessionStatusResponse);
export type GetSessionStatusSessionsSessionIdGetError = (HTTPValidationError);
export type DeleteSessionSessionsSessionIdDeleteData = { path: { session_id: string; };};
export type DeleteSessionSessionsSessionIdDeleteResponse = (unknown);
export type DeleteSessionSessionsSessionIdDeleteError = (HTTPValidationError);
export type StartInferenceSessionsSessionIdStartPostData = { path: { session_id: string; };};
export type StartInferenceSessionsSessionIdStartPostResponse = (unknown);
export type StartInferenceSessionsSessionIdStartPostError = (HTTPValidationError);
export type StopInferenceSessionsSessionIdStopPostData = { path: { session_id: string; };};
export type StopInferenceSessionsSessionIdStopPostResponse = (unknown);
export type StopInferenceSessionsSessionIdStopPostError = (HTTPValidationError);
export type RestartInferenceSessionsSessionIdRestartPostData = { path: { session_id: string; };};
export type RestartInferenceSessionsSessionIdRestartPostResponse = (unknown);
export type RestartInferenceSessionsSessionIdRestartPostError = (HTTPValidationError);
export type GetSystemInfoDebugSystemGetResponse = (unknown);
export type GetSystemInfoDebugSystemGetError = unknown;
export type GetRecentLogsDebugLogsGetResponse = (unknown);
export type GetRecentLogsDebugLogsGetError = unknown;
export type DebugResetSessionDebugSessionsSessionIdResetPostData = { path: { session_id: string; };};
export type DebugResetSessionDebugSessionsSessionIdResetPostResponse = (unknown);
export type DebugResetSessionDebugSessionsSessionIdResetPostError = (HTTPValidationError);
export type GetSessionQueueInfoDebugSessionsSessionIdQueueGetData = { path: { session_id: string; };};
export type GetSessionQueueInfoDebugSessionsSessionIdQueueGetResponse = (unknown);
export type GetSessionQueueInfoDebugSessionsSessionIdQueueGetError = (HTTPValidationError);123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692{ "openapi": "3.1.0", "info": { "title": "LeRobot Arena AI Server", "summary": "ACT Model Inference Server for Real-time Robot Control", "description": "\n ## LeRobot Arena AI Server\n\n This server provides **ACT (Action Chunking Transformer)** model inference for robotics applications.\n It uses the LeRobot Arena communication system with multiple rooms per session for:\n\n ### Core Features:\n - π₯ **Multi-camera support**: Arbitrary number of camera streams with unique names\n - π€ **Joint control**: Normalized joint value handling (-100 to +100 range)\n - π **Real-time inference**: Optimized for robotics control loops\n - π **Session management**: Multiple concurrent inference sessions\n - π οΈ **Debug endpoints**: Comprehensive monitoring and debugging tools\n\n ### Communication Architecture:\n 1. **Camera rooms**: Receives video streams from robot cameras (supports multiple cameras)\n 2. **Joint input room**: Receives current robot joint positions (**NORMALIZED VALUES**)\n 3. **Joint output room**: Sends predicted joint commands (**NORMALIZED VALUES**)\n\n ### Supported Cameras:\n Each camera stream has a unique name (e.g., \"front\", \"wrist\", \"overhead\") \n and all streams are synchronized for inference.\n\n ### Joint Value Convention:\n - All joint inputs/outputs use **NORMALIZED VALUES**\n - Range: -100 to +100 for most joints, 0 to 100 for gripper\n - Matches training data format exactly\n\n ### Getting Started:\n 1. Create a session with your trained ACT model\n 2. Connect your robot to the generated rooms\n 3. Start inference to begin real-time control\n ", "version": "1.0.0", "contact": { "name": "LeRobot Arena Team", "url": "https://github.com/huggingface/lerobot" }, "license": { "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, "x-logo": { "url": "https://huggingface.co/datasets/huggingface/brand-assets/resolve/main/hf-logo.png", "altText": "LeRobot Logo" } }, "paths": { "/": { "get": { "tags": [ "Health" ], "summary": "Root", "description": "Health check endpoint.", "operationId": "root__get", "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } } } } }, "/health": { "get": { "tags": [ "Health" ], "summary": "Health Check", "description": "Detailed health check.", "operationId": "health_check_health_get", "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } } } } }, "/sessions": { "get": { "tags": [ "Sessions" ], "summary": "List Sessions", "description": "List all sessions.", "operationId": "list_sessions_sessions_get", "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/SessionStatusResponse" }, "type": "array", "title": "Response List Sessions Sessions Get" } } } } } }, "post": { "tags": [ "Sessions" ], "summary": "Create Session", "description": "Create a new inference session.\n\nIf workspace_id is provided, all rooms will be created in that workspace.\nIf workspace_id is not provided, a new workspace will be generated automatically.\nAll rooms for a session (cameras + joints) are always created in the same workspace.", "operationId": "create_session_sessions_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateSessionRequest" } } }, "required": true }, "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateSessionResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/sessions/{session_id}": { "get": { "tags": [ "Sessions" ], "summary": "Get Session Status", "description": "Get status of a specific session.", "operationId": "get_session_status_sessions__session_id__get", "parameters": [ { "name": "session_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Session Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionStatusResponse" } } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "delete": { "tags": [ "Sessions" ], "summary": "Delete Session", "description": "Delete a session.", "operationId": "delete_session_sessions__session_id__delete", "parameters": [ { "name": "session_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Session Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/sessions/{session_id}/start": { "post": { "tags": [ "Control" ], "summary": "Start Inference", "description": "Start inference for a session.", "operationId": "start_inference_sessions__session_id__start_post", "parameters": [ { "name": "session_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Session Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/sessions/{session_id}/stop": { "post": { "tags": [ "Control" ], "summary": "Stop Inference", "description": "Stop inference for a session.", "operationId": "stop_inference_sessions__session_id__stop_post", "parameters": [ { "name": "session_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Session Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/sessions/{session_id}/restart": { "post": { "tags": [ "Control" ], "summary": "Restart Inference", "description": "Restart inference for a session.", "operationId": "restart_inference_sessions__session_id__restart_post", "parameters": [ { "name": "session_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Session Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/debug/system": { "get": { "tags": [ "Debug" ], "summary": "Get System Info", "description": "Get system information for debugging.", "operationId": "get_system_info_debug_system_get", "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } } } } }, "/debug/logs": { "get": { "tags": [ "Debug" ], "summary": "Get Recent Logs", "description": "Get recent log entries for debugging.", "operationId": "get_recent_logs_debug_logs_get", "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } } } } }, "/debug/sessions/{session_id}/reset": { "post": { "tags": [ "Debug" ], "summary": "Debug Reset Session", "description": "Reset a session's internal state for debugging.", "operationId": "debug_reset_session_debug_sessions__session_id__reset_post", "parameters": [ { "name": "session_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Session Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } }, "/debug/sessions/{session_id}/queue": { "get": { "tags": [ "Debug" ], "summary": "Get Session Queue Info", "description": "Get detailed information about a session's action queue.", "operationId": "get_session_queue_info_debug_sessions__session_id__queue_get", "parameters": [ { "name": "session_id", "in": "path", "required": true, "schema": { "type": "string", "title": "Session Id" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } } }, "components": { "schemas": { "CreateSessionRequest": { "properties": { "session_id": { "type": "string", "title": "Session Id" }, "policy_path": { "type": "string", "title": "Policy Path" }, "camera_names": { "items": { "type": "string" }, "type": "array", "title": "Camera Names", "default": [ "front" ] }, "arena_server_url": { "type": "string", "title": "Arena Server Url", "default": "http://localhost:8000" }, "workspace_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Workspace Id" } }, "type": "object", "required": [ "session_id", "policy_path" ], "title": "CreateSessionRequest" }, "CreateSessionResponse": { "properties": { "workspace_id": { "type": "string", "title": "Workspace Id" }, "camera_room_ids": { "additionalProperties": { "type": "string" }, "type": "object", "title": "Camera Room Ids" }, "joint_input_room_id": { "type": "string", "title": "Joint Input Room Id" }, "joint_output_room_id": { "type": "string", "title": "Joint Output Room Id" } }, "type": "object", "required": [ "workspace_id", "camera_room_ids", "joint_input_room_id", "joint_output_room_id" ], "title": "CreateSessionResponse" }, "HTTPValidationError": { "properties": { "detail": { "items": { "$ref": "#/components/schemas/ValidationError" }, "type": "array", "title": "Detail" } }, "type": "object", "title": "HTTPValidationError" }, "SessionStatusResponse": { "properties": { "session_id": { "type": "string", "title": "Session Id" }, "status": { "type": "string", "title": "Status" }, "policy_path": { "type": "string", "title": "Policy Path" }, "camera_names": { "items": { "type": "string" }, "type": "array", "title": "Camera Names" }, "workspace_id": { "type": "string", "title": "Workspace Id" }, "rooms": { "additionalProperties": true, "type": "object", "title": "Rooms" }, "stats": { "additionalProperties": true, "type": "object", "title": "Stats" }, "inference_stats": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Inference Stats" }, "error_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error Message" } }, "type": "object", "required": [ "session_id", "status", "policy_path", "camera_names", "workspace_id", "rooms", "stats" ], "title": "SessionStatusResponse" }, "ValidationError": { "properties": { "loc": { "items": { "anyOf": [ { "type": "string" }, { "type": "integer" } ] }, "type": "array", "title": "Location" }, "msg": { "type": "string", "title": "Message" }, "type": { "type": "string", "title": "Error Type" } }, "type": "object", "required": [ "loc", "msg", "type" ], "title": "ValidationError" } }, "securitySchemes": { "BearerAuth": { "type": "http", "scheme": "bearer", "bearerFormat": "JWT" }, "ApiKeyAuth": { "type": "apiKey", "in": "header", "name": "X-API-Key" } } }, "servers": [ { "url": "http://localhost:8001", "description": "Development server" }, { "url": "https://your-production-server.com", "description": "Production server" } ], "tags": [ { "name": "Health", "description": "Health check and server status endpoints" }, { "name": "Sessions", "description": "Inference session management - create, control, and monitor AI sessions" }, { "name": "Control", "description": "Session control operations - start, stop, restart inference" }, { "name": "Debug", "description": "Debug and monitoring endpoints for system diagnostics" } ]}14 unmodified lines1516171819202117 unmodified lines394041424314 unmodified lines"huggingface-hub>=0.32.4","imageio[ffmpeg]>=2.37.0","lerobot","robohub-transport-server-client","numpy>=1.26.4","opencv-python>=4.11.0.86","opencv-python-headless>=4.11.0.86",17 unmodified lines][tool.uv.sources]robohub-transport-server-client = { path = "../transport-server/client/python", editable = true }lerobot = { path = "./external/lerobot", editable = false }14 unmodified lines1516171819202117 unmodified lines394041424314 unmodified lines"huggingface-hub>=0.32.4","imageio[ffmpeg]>=2.37.0","lerobot","robothub-transport-server-client","numpy>=1.26.4","opencv-python>=4.11.0.86","opencv-python-headless>=4.11.0.86",17 unmodified lines][tool.uv.sources]robothub_transport_server_client = { path = "./external/RobotHub-TransportServer/client/python", editable = true }lerobot = { path = "./external/lerobot", editable = false }
13 unmodified lines1415161718192013 unmodified linesRequires-Dist: huggingface-hub>=0.32.4Requires-Dist: imageio[ffmpeg]>=2.37.0Requires-Dist: lerobotRequires-Dist: lerobot-arena-clientRequires-Dist: numpy>=1.26.4Requires-Dist: opencv-python>=4.11.0.86Requires-Dist: opencv-python-headless>=4.11.0.8613 unmodified lines1415161718192013 unmodified linesRequires-Dist: huggingface-hub>=0.32.4Requires-Dist: imageio[ffmpeg]>=2.37.0Requires-Dist: lerobotRequires-Dist: robohub-transport-server-clientRequires-Dist: numpy>=1.26.4Requires-Dist: opencv-python>=4.11.0.86Requires-Dist: opencv-python-headless>=4.11.0.86
7 unmodified lines8910111213147 unmodified lineshuggingface-hub>=0.32.4imageio[ffmpeg]>=2.37.0lerobotlerobot-arena-clientnumpy>=1.26.4opencv-python>=4.11.0.86opencv-python-headless>=4.11.0.867 unmodified lines8910111213147 unmodified lineshuggingface-hub>=0.32.4imageio[ffmpeg]>=2.37.0lerobotrobohub-transport-server-clientnumpy>=1.26.4opencv-python>=4.11.0.86opencv-python-headless>=4.11.0.86
4 unmodified lines567891011124 unmodified linesfrom collections import dequeimport numpy as npfrom robohub_transport_server_client import RoboticsConsumer, RoboticsProducerfrom robohub_transport_server_client.video import VideoConsumer, VideoProducerfrom inference_server.models import get_inference_engine, list_supported_policiesfrom inference_server.models.joint_config import JointConfig4 unmodified lines567891011124 unmodified linesfrom collections import dequeimport numpy as npfrom transport_server_client import RoboticsConsumer, RoboticsProducerfrom transport_server_client.video import VideoConsumer, VideoProducerfrom inference_server.models import get_inference_engine, list_supported_policiesfrom inference_server.models.joint_config import JointConfig
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140#!/usr/bin/env python3"""Test script for the integrated Inference Server setup
This script verifies that both the FastAPI API and Gradio UI work correctly."""
import asyncioimport sysimport timefrom pathlib import Path
import httpx
# Add src to pathsrc_path = Path(__file__).parent / "src"sys.path.insert(0, str(src_path))
async def test_api_endpoints(): """Test that the FastAPI endpoints work correctly.""" base_url = "http://localhost:7860"
async with httpx.AsyncClient(timeout=10.0) as client: try: # Test main health endpoint print("π Testing main health endpoint...") response = await client.get(f"{base_url}/api/health") assert response.status_code == 200 data = response.json() print(f"β
Health check passed: {data}")
# Test API docs availability print("π Testing API docs availability...") response = await client.get(f"{base_url}/api/docs") assert response.status_code == 200 print("β
API docs available")
# Test OpenAPI schema print("π Testing OpenAPI schema...") response = await client.get(f"{base_url}/api/openapi.json") assert response.status_code == 200 schema = response.json() print(f"β
OpenAPI schema available: {schema['info']['title']}")
# Test sessions endpoint print("π Testing sessions endpoint...") response = await client.get(f"{base_url}/api/sessions") assert response.status_code == 200 sessions = response.json() print(f"β
Sessions endpoint works: {len(sessions)} sessions")
# Test Gradio UI availability print("π¨ Testing Gradio UI availability...") response = await client.get(f"{base_url}/") assert response.status_code == 200 print("β
Gradio UI available")
print("\nπ All tests passed! The integrated setup is working correctly.") return True
except Exception as e: print(f"β Test failed: {e}") return False
async def test_session_creation(): """Test creating a session through the API.""" base_url = "http://localhost:7860"
async with httpx.AsyncClient(timeout=30.0) as client: try: # Create a test session print("π§ Testing session creation...")
session_data = { "session_id": "test-session", "policy_path": "./checkpoints/act_so101_beyond", "camera_names": ["front"], "arena_server_url": "http://localhost:8000", }
response = await client.post(f"{base_url}/api/sessions", json=session_data)
if response.status_code == 200: print("β
Session creation successful") return True print( f"β οΈ Session creation failed (expected if no model exists): {response.status_code}" ) return True # This is expected if no model exists
except Exception as e: print(f"β οΈ Session creation test failed (expected if no model exists): {e}") return True # This is expected if no model exists
def print_integration_info(): """Print information about the integrated setup.""" print("=" * 60) print("π€ Integrated Inference Server Test Results") print("=" * 60) print() print("π Access Points:") print(" π¨ Gradio UI: http://localhost:7860/") print(" π API Docs: http://localhost:7860/api/docs") print(" π Health Check: http://localhost:7860/api/health") print(" π OpenAPI Schema: http://localhost:7860/api/openapi.json") print(" π Sessions API: http://localhost:7860/api/sessions") print() print("π§ Features Available:") print(" β
Direct session management through UI") print(" β
Full REST API for programmatic access") print(" β
Interactive API documentation") print(" β
Single port deployment") print(" β
CORS enabled for frontend integration") print()
if __name__ == "__main__": print("π§ͺ Testing Integrated Inference Server Setup") print("Make sure the server is running with: python launch_simple.py") print()
# Wait a moment for server to be ready time.sleep(2)
# Run tests try: success = asyncio.run(test_api_endpoints()) if success: asyncio.run(test_session_creation())
print_integration_info()
except KeyboardInterrupt: print("\nπ Tests interrupted by user") except Exception as e: print(f"β Test runner error: {e}") sys.exit(1)1124 unmodified lines112511261127112811291130113128 unmodified lines11601161116211631164116511661399 unmodified lines2566256725682569257025712572257325741124 unmodified lines{ name = "psutil" },{ name = "pydantic" },{ name = "python-multipart" },{ name = "robohub-transport-server-client" },{ name = "torch" },{ name = "torchvision" },{ name = "tqdm" },28 unmodified lines{ name = "psutil", specifier = ">=7.0.0" },{ name = "pydantic", specifier = ">=2.11.5" },{ name = "python-multipart", specifier = ">=0.0.20" },{ name = "robohub-transport-server-client", editable = "../transport-server/client/python" },{ name = "torch", specifier = ">=2.2.2" },{ name = "torchvision", specifier = ">=0.17.2" },{ name = "tqdm", specifier = ">=4.67.1" },1399 unmodified lines][[package]]name = "robohub-transport-server-client"version = "1.0.0"source = { editable = "../transport-server/client/python" }dependencies = [{ name = "aiohttp" },{ name = "aiortc" },1124 unmodified lines112511261127112811291130113128 unmodified lines11601161116211631164116511661399 unmodified lines2566256725682569257025712572257325741124 unmodified lines{ name = "psutil" },{ name = "pydantic" },{ name = "python-multipart" },{ name = "robothub-transport-server-client" },{ name = "torch" },{ name = "torchvision" },{ name = "tqdm" },28 unmodified lines{ name = "psutil", specifier = ">=7.0.0" },{ name = "pydantic", specifier = ">=2.11.5" },{ name = "python-multipart", specifier = ">=0.0.20" },{ name = "robothub-transport-server-client", editable = "external/RobotHub-TransportServer/client/python" },{ name = "torch", specifier = ">=2.2.2" },{ name = "torchvision", specifier = ">=0.17.2" },{ name = "tqdm", specifier = ">=4.67.1" },1399 unmodified lines][[package]]name = "robothub-transport-server-client"version = "1.0.0"source = { editable = "external/RobotHub-TransportServer/client/python" }dependencies = [{ name = "aiohttp" },{ name = "aiortc" },
.dockerignore+34-3
.gitignore+87-2
Dockerfile+14-9
README_INTEGRATION.mdDeleted-138
client/package.json+3-3
client/src/generated/index.tsDeleted-4
client/src/generated/schemas.gen.tsDeleted-196
client/src/generated/services.gen.tsDeleted-164
client/src/generated/types.gen.tsDeleted-151
openapi.jsonDeleted-692
pyproject.toml+2-2
src/inference_server.egg-info/PKG-INFO+1-1
src/inference_server.egg-info/requires.txt+1-1
src/inference_server/__pycache__/session_manager.cpython-312.pyc
src/inference_server/__pycache__/session_manager.cpython-313.pyc
src/inference_server/session_manager.py+2-2
test_integration.pyDeleted-140
uv.lock+4-4