code: def get_info():
      return {"version": dstack.gateway.version.__version__}
  
file_path: dstack/gateway/src/dstack/gateway/main.py
imports: import logging
  from contextlib import asynccontextmanager
  import pydantic_core
  from fastapi import FastAPI
  import dstack.gateway.openai.store
  import dstack.gateway.version
  from dstack.gateway.logging import configure_logging
  from dstack.gateway.openai.routes import router
  from dstack.gateway.registry.routes import router
  from dstack.gateway.services.persistent import save_persistent_state
  from dstack.gateway.services.store import get_store
label_desc: Use image node_id 1 for calling a global function with example usage: get_info() and returns: dict