Skip to main content
Constants and enumerations for the React Agent Orchestrator service.

react_agent.constants.AvailableModel Objects

View Source Available models from Ollama and EINFRA for UI dropdown selection.

react_agent.constants.TranslationType Objects

View Source The type of translation being requested (schema only, query only, or both).

react_agent.constants.FrameworkEnum Objects

View Source Supported Object-Relational/Graph/Document Mapping targets.

react_agent.constants.DotnetFramework Objects

View Source Supported C#/.NET database frameworks for translation source.

react_agent.constants.JavaFramework Objects

View Source Supported Java database frameworks for translation targets.

react_agent.constants.SourceFramework Objects

View Source Supported source frameworks for translating queries/schemas (relational C#/.NET).

react_agent.constants.TargetFramework Objects

View Source Supported target database frameworks for migration (Java MongoDB/Neo4j).

react_agent.constants.SandboxType Objects

View Source Supported Daytona validation sandbox types representing isolated runtime environments.

react_agent.constants.LanguageType Objects

View Source Supported programming language types for code generation and validation.

react_agent.constants.LanggraphCustomEventKeys Objects

View Source Keys representing custom execution events sent to the LangGraph client for UI streaming.

react_agent.constants.FRAMEWORK_TO_NORMALIZED_NAME

Mapping used to normalize enum representations into simple snake_case strings suitable for LLM prompt injections and JSON keys.

react_agent.constants.NORMALIZED_FRAMEWORK_TO_FRAMEWORK

Mapping from normalized snake_case strings back to the original FrameworkEnum representations.

react_agent.constants.FRAMEWORK_TO_LANGUAGE_TYPE

Mapping of each framework type to its corresponding programming language type for code generation and validation logic.

react_agent.constants.FRAMEWORK_TO_SNIPPET_FILES

Mapping of framework types to their corresponding schema and query snippet file names.

react_agent.constants.FRAMEWORK_TO_CONFIG_FILES

Mapping of framework types to their respective project configuration file names (e.g., .csproj, pom.xml).

react_agent.constants.MODEL_PROFILE_CACHE: dict[str, dict]

A global, static cache used to store LLM ModelProfile capabilities (like max token counts) to avoid repetitively querying the AI Gateway or specific LLM endpoints.

react_agent.constants.MAX_EXTRACTION_LOOPS

The maximum number of retry loops the graph will allow when the LLM fails to correctly extract schema or query code from the user’s initial prompt.

react_agent.constants.MAX_TRANSLATION_LOOPS

The maximum number of retry loops the graph will allow for compiling/validating the translated code in the sandboxes before finally failing.

react_agent.constants.GENERAL_SANDBOX_README

The generic README file injected into all generated Validation Sandboxes. It provides connection strings and URLs dynamically substituted via str.format().