amd-gaia 0.15.1__py3-none-any.whl → 0.15.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. {amd_gaia-0.15.1.dist-info → amd_gaia-0.15.3.dist-info}/METADATA +2 -2
  2. {amd_gaia-0.15.1.dist-info → amd_gaia-0.15.3.dist-info}/RECORD +38 -32
  3. {amd_gaia-0.15.1.dist-info → amd_gaia-0.15.3.dist-info}/WHEEL +1 -1
  4. gaia/agents/base/agent.py +317 -113
  5. gaia/agents/base/api_agent.py +0 -1
  6. gaia/agents/base/console.py +334 -9
  7. gaia/agents/base/tools.py +7 -2
  8. gaia/agents/blender/__init__.py +7 -0
  9. gaia/agents/blender/agent.py +7 -10
  10. gaia/agents/blender/core/view.py +2 -2
  11. gaia/agents/chat/agent.py +22 -48
  12. gaia/agents/chat/app.py +7 -0
  13. gaia/agents/chat/tools/rag_tools.py +23 -8
  14. gaia/agents/chat/tools/shell_tools.py +1 -0
  15. gaia/agents/code/prompts/code_patterns.py +2 -4
  16. gaia/agents/docker/agent.py +1 -0
  17. gaia/agents/emr/agent.py +3 -5
  18. gaia/agents/emr/cli.py +1 -1
  19. gaia/agents/emr/dashboard/server.py +2 -4
  20. gaia/agents/tools/__init__.py +11 -0
  21. gaia/agents/tools/file_tools.py +715 -0
  22. gaia/apps/llm/app.py +14 -3
  23. gaia/chat/app.py +2 -4
  24. gaia/cli.py +751 -333
  25. gaia/installer/__init__.py +23 -0
  26. gaia/installer/init_command.py +1605 -0
  27. gaia/installer/lemonade_installer.py +678 -0
  28. gaia/llm/__init__.py +2 -1
  29. gaia/llm/lemonade_client.py +427 -99
  30. gaia/llm/lemonade_manager.py +55 -11
  31. gaia/llm/providers/lemonade.py +21 -14
  32. gaia/rag/sdk.py +1 -1
  33. gaia/security.py +24 -4
  34. gaia/talk/app.py +2 -4
  35. gaia/version.py +2 -2
  36. {amd_gaia-0.15.1.dist-info → amd_gaia-0.15.3.dist-info}/entry_points.txt +0 -0
  37. {amd_gaia-0.15.1.dist-info → amd_gaia-0.15.3.dist-info}/licenses/LICENSE.md +0 -0
  38. {amd_gaia-0.15.1.dist-info → amd_gaia-0.15.3.dist-info}/top_level.txt +0 -0
gaia/apps/llm/app.py CHANGED
@@ -82,6 +82,10 @@ def main(
82
82
  stream: Whether to stream the response
83
83
  base_url: Base URL for local LLM server (defaults to LEMONADE_BASE_URL env var)
84
84
  """
85
+ from rich.console import Console
86
+
87
+ console = Console()
88
+
85
89
  if not query:
86
90
  raise ValueError("Query is required")
87
91
 
@@ -91,14 +95,21 @@ def main(
91
95
  )
92
96
 
93
97
  if stream:
94
- # Handle streaming response
98
+ # Handle streaming response with Rich formatting
99
+ console.print()
100
+ console.print("[bold cyan]🤖 gaia:[/bold cyan] ", end="")
95
101
  full_response = ""
96
102
  for chunk in response:
97
- print(chunk, end="", flush=True)
98
- full_response += chunk
103
+ if chunk: # Skip None chunks
104
+ print(chunk, end="", flush=True)
105
+ full_response += chunk
99
106
  print() # Add newline
107
+ console.print()
100
108
  return full_response
101
109
  else:
110
+ console.print()
111
+ console.print(f"[bold cyan]🤖 gaia:[/bold cyan] {response}")
112
+ console.print()
102
113
  return response
103
114
 
104
115
 
gaia/chat/app.py CHANGED
@@ -212,8 +212,7 @@ def print_integration_examples():
212
212
  print("INTEGRATION EXAMPLES")
213
213
  print("=" * 60)
214
214
 
215
- print(
216
- """
215
+ print("""
217
216
  Basic Integration:
218
217
  ```python
219
218
  from gaia.chat.sdk import ChatSDK, ChatConfig
@@ -297,8 +296,7 @@ responses = quick_chat_with_memory([
297
296
  "What's my name?"
298
297
  ], assistant_name="Gaia")
299
298
  ```
300
- """
301
- )
299
+ """)
302
300
 
303
301
 
304
302
  async def main():