code: def get_store() -> OpenAIStore:
      return OpenAIStore.model_validate(
          get_persistent_state().get("openai", {})
      )
  
file_path: dstack/gateway/src/dstack/gateway/openai/store.py
imports: import asyncio
  import datetime
  from functools import lru_cache
  from typing import Dict, List, Tuple
  from pydantic import BaseModel, ValidationError
  from dstack.gateway.errors import GatewayError, NotFoundError
  from dstack.gateway.openai.clients import ChatCompletionsClient
  from dstack.gateway.openai.clients.tgi import TGIChatCompletions
  from dstack.gateway.openai.models import OpenAIOptions, ServiceModel
  from dstack.gateway.openai.schemas import Model
  from dstack.gateway.schemas import Service
  from dstack.gateway.services.persistent import get_persistent_state
  from dstack.gateway.services.store import StoreSubscriber
label_desc: Use image node_id 1 for calling a global function with example usage: get_store() and returns: OpenAIStore