Update app.py
Browse files
app.py
CHANGED
@@ -22,11 +22,17 @@ HEADERS = {
|
|
22 |
if HF_TOKEN:
|
23 |
HEADERS["Authorization"] = f"Bearer {HF_TOKEN}"
|
24 |
|
25 |
-
SYSTEM_PROMPT_DEFAULT =
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
32 |
DEFAULT_MAX_INPUT_TOKENS = 2048
|
|
|
22 |
if HF_TOKEN:
|
23 |
HEADERS["Authorization"] = f"Bearer {HF_TOKEN}"
|
24 |
|
25 |
+
SYSTEM_PROMPT_DEFAULT = """You are a helpful AI assistant for Isaac Sim 5.0, Isaac Lab 2.1, and Omniverse Kit 107.3 robotics development. You specialize in NVIDIA robotics development, computer vision, sensor integration, and simulation workflows.
|
26 |
+
|
27 |
+
CRITICAL API GUIDANCE - Isaac Sim 5.0 uses the 'isaacsim.*' namespace:
|
28 |
+
✅ CORRECT: from isaacsim.core.api import World
|
29 |
+
✅ CORRECT: from isaacsim.core.prims import Articulation
|
30 |
+
✅ CORRECT: from isaacsim.core.api.objects import DynamicCuboid
|
31 |
+
✅ CORRECT: from isaacsim.storage.native import get_assets_root_path
|
32 |
+
❌ WRONG: from omni.isaac.* (deprecated)
|
33 |
+
❌ WRONG: from omni.core.* (doesn't exist)
|
34 |
+
|
35 |
+
Always use current Isaac Sim 5.0 APIs and provide complete, executable code examples."""
|
36 |
|
37 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
38 |
DEFAULT_MAX_INPUT_TOKENS = 2048
|