Skip to content

Commit 8df7fb1

Browse files
committed
more imports, pylint fixes
1 parent 837a8a5 commit 8df7fb1

File tree

6 files changed

+20
-11
lines changed

6 files changed

+20
-11
lines changed

src/gaia/agents/blender/agent.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _create_console(self) -> AgentConsole:
8080
def _get_system_prompt(self) -> str:
8181
"""Generate the system prompt for the Blender agent."""
8282
# Get formatted tools from registry
83-
return f"""
83+
return """
8484
You are a specialized Blender 3D assistant that can create and modify 3D scenes.
8585
You will use a set of tools to accomplish tasks based on the user's request.
8686
@@ -283,7 +283,7 @@ def set_material_color(
283283
return {"status": "error", "error": str(e)}
284284

285285
# @tool
286-
def get_object_info(name: str) -> Dict[str, Any]:
286+
def _get_object_info(name: str) -> Dict[str, Any]:
287287
"""
288288
Get information about an object in the scene.
289289
@@ -354,7 +354,7 @@ def modify_object(
354354
return {"status": "error", "error": str(e)}
355355

356356
# @tool
357-
def delete_object(name: str) -> Dict[str, Any]:
357+
def _delete_object(name: str) -> Dict[str, Any]:
358358
"""
359359
Delete an object from the scene.
360360
@@ -407,7 +407,7 @@ def get_scene_info() -> Dict[str, Any]:
407407
return {"status": "error", "error": str(e)}
408408

409409
# @tool
410-
def execute_blender_code(code: str) -> Dict[str, Any]:
410+
def _execute_blender_code(code: str) -> Dict[str, Any]:
411411
"""
412412
Execute arbitrary Python code in Blender with error handling.
413413
@@ -436,7 +436,7 @@ def execute_blender_code(code: str) -> Dict[str, Any]:
436436
return {"status": "error", "error": str(e)}
437437

438438
# @tool
439-
def diagnose_scene() -> Dict[str, Any]:
439+
def _diagnose_scene() -> Dict[str, Any]:
440440
"""
441441
Diagnose the current Blender scene for common issues.
442442
Returns information about objects, materials, and potential problems.

src/gaia/agents/blender/core/view.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ def __init__(self, mcp: MCPClient):
1313
self.mcp = mcp
1414

1515
def adjust_for_large_scale(
16-
self, clip_end: float = 100000, orbit_selection: bool = True
16+
self, clip_end: float = 100000, _orbit_selection: bool = True
1717
) -> Dict:
1818
"""Adjust viewport settings to properly view large-scale objects like Earth.
1919
2020
Args:
2121
clip_end: The maximum view distance to set for the 3D viewport (default: 100000)
22-
orbit_selection: Whether to enable orbit around selection (default: True, but may not work in all Blender versions)
22+
_orbit_selection: Whether to enable orbit around selection (default: True, but may not work in all Blender versions)
2323
"""
2424

2525
def generate_code():

src/gaia/agents/emr/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def _get_vlm(self):
325325
"""Get or create VLM client (lazy initialization)."""
326326
if self._vlm is None:
327327
try:
328-
from gaia.llm.vlm_client import VLMClient
328+
from gaia.llm import VLMClient
329329

330330
self.console.print_model_loading(self._vlm_model)
331331
self._vlm = VLMClient(vlm_model=self._vlm_model)

src/gaia/agents/emr/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ def cmd_test(args):
636636

637637
from PIL import Image
638638

639-
from gaia.llm.vlm_client import VLMClient
639+
from gaia.llm import VLMClient
640640

641641
file_path = Path(args.file)
642642
if not file_path.exists():

src/gaia/rag/sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def _extract_text_from_pdf(self, pdf_path: str) -> tuple:
432432
vlm = None
433433
vlm_available = False
434434
try:
435-
from gaia.llm.vlm_client import VLMClient
435+
from gaia.llm import VLMClient
436436
from gaia.rag.pdf_utils import (
437437
count_images_in_page,
438438
extract_images_from_page_pymupdf,

util/lint.ps1

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,16 +273,21 @@ function Invoke-ImportTests {
273273
@{Import="from gaia.llm import LLMClient"; Desc="LLM client class"},
274274
@{Import="from gaia.llm import VLMClient"; Desc="Vision LLM client"},
275275
@{Import="from gaia.llm import create_client"; Desc="LLM factory"},
276+
@{Import="from gaia.llm import NotSupportedError"; Desc="LLM exception"},
276277

277278
# Chat SDK
278279
@{Module="gaia.chat.sdk"; Desc="Chat SDK module"},
279280
@{Import="from gaia.chat.sdk import ChatSDK"; Desc="Chat SDK class"},
280281
@{Import="from gaia.chat.sdk import ChatConfig"; Desc="Chat configuration"},
282+
@{Import="from gaia.chat.sdk import ChatSession"; Desc="Chat session"},
283+
@{Import="from gaia.chat.sdk import ChatResponse"; Desc="Chat response"},
281284
@{Import="from gaia.chat.sdk import quick_chat"; Desc="Quick chat function"},
282285

283286
# RAG SDK
284287
@{Module="gaia.rag.sdk"; Desc="RAG SDK module"},
285288
@{Import="from gaia.rag.sdk import RAGSDK"; Desc="RAG SDK class"},
289+
@{Import="from gaia.rag.sdk import RAGConfig"; Desc="RAG configuration"},
290+
@{Import="from gaia.rag.sdk import quick_rag"; Desc="Quick RAG function"},
286291

287292
# Base Agent System
288293
@{Module="gaia.agents.base.agent"; Desc="Base agent module"},
@@ -295,13 +300,17 @@ function Invoke-ImportTests {
295300
@{Import="from gaia.agents.code import CodeAgent"; Desc="Code agent"},
296301
@{Import="from gaia.agents.jira import JiraAgent"; Desc="Jira agent"},
297302
@{Import="from gaia.agents.docker import DockerAgent"; Desc="Docker agent"},
303+
@{Import="from gaia.agents.blender import BlenderAgent"; Desc="Blender agent"},
304+
@{Import="from gaia.agents.emr import MedicalIntakeAgent"; Desc="Medical intake agent"},
305+
@{Import="from gaia.agents.routing import RoutingAgent"; Desc="Routing agent"},
298306

299307
# Database
300308
@{Import="from gaia.database import DatabaseAgent"; Desc="Database agent"},
301309
@{Import="from gaia.database import DatabaseMixin"; Desc="Database mixin"},
302310

303311
# Utilities
304-
@{Import="from gaia.utils import FileWatcher"; Desc="File watcher"}
312+
@{Import="from gaia.utils import FileWatcher"; Desc="File watcher"},
313+
@{Import="from gaia.utils import FileWatcherMixin"; Desc="File watcher mixin"}
305314
)
306315

307316
$failed = $false

0 commit comments

Comments
 (0)