Conversation
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
014797e to
726504c
Compare
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
| console = VulcanConsole( | ||
| tools_from_entrypoints="turtle_tools", | ||
| user_context=user_context, | ||
| main_node=node, | ||
| model="gpt-5-nano" # model="ollama-llama3.1:8b" for Ollama models | ||
| ) |
There was a problem hiding this comment.
We need to update every block of code that refers to lines higher than 80 of this file (docs/resources/tutorials/vulcanai/turtlesim/ros2_node.py).
Example:
File docs/rst/tutorials/vulcanai/turtlesim/turtlesim_main.rst on lines 55, 69.
Render the documentation locally and check that code is properly shown.
There was a problem hiding this comment.
I actually realized that this image does not fit here. We are using the turtlesim tools, not the default tools. We should see the tools created specifically for this tutorial, with the default tools deactivated. Same as the original image
There was a problem hiding this comment.
Same here, available tools should be the turtlesim tools, not the default ones.
| Image Placeholders | ||
| ------------------ | ||
|
|
||
| Use the following placeholders to add screenshots later. | ||
|
|
||
| .. container:: | ||
|
|
||
| **image_1** Terminal main view | ||
|
|
||
| .. container:: | ||
|
|
||
| **image_2** Text selection and copy with ``F4`` | ||
|
|
||
| .. container:: | ||
|
|
||
| **image_3** Reverse search with ``Ctrl+R`` |
There was a problem hiding this comment.
Delete or add the images
| Even though VulcanAI can be integrated directly in Python applications, the **VulcanAI Console** is the main interactive interface for most users. | ||
| Using the console is not mandatory, but it improves readability and day-to-day usage by presenting prompts, plans, tool calls, and responses in a clearer way during execution. | ||
| For development, debugging and demos, it is usually the most convenient way to run a VulcanAI agent. | ||
|
|
||
| The simplest way to run VulcanAI with the console from your own script is to create a ``VulcanConsole`` object and call ``run_console()``: | ||
|
|
||
| .. code-block:: python | ||
|
|
||
| from vulcanai import VulcanConsole | ||
|
|
||
| console = VulcanConsole( | ||
| tools_from_entrypoints="my_tools", | ||
| user_context="You are assisting with a ROS 2 system.", | ||
| model="gpt-5-nano" | ||
| ) | ||
|
|
||
| console.run_console() | ||
|
|
||
| For ROS 2 use cases, the console can also receive a shared node through the ``main_node`` argument, as shown in :ref:`tutorials_vulcanai_turtlesim_main`. | ||
| See :ref:`vulcanai_terminal` for a detailed overview of the console features and shortcuts. |
There was a problem hiding this comment.
This is unrelated with VulcanAI tools. It seems missplaced
There was a problem hiding this comment.
Totally right, it was my first approach for this comment and it was in a different file and did not remove it
Removed in c10de33
|
|
||
| In case of using a *"setup.py"* file of a ROS 2 package, remember to add a new complete module, not another entry to the *"console_scripts"* entry point. | ||
|
|
||
|
|
|
|
||
| You can check the console logs to see the plan created by the agent to accomplish each task, as well as the tool calls made during the execution. | ||
|
|
||
| .. _vulcanai_tools_sharing_data: |
There was a problem hiding this comment.
This should go above section: Sharing data between tools
| These tools allow VulcanAI agents to inspect and interact with a running ROS 2 system without any additional setup. | ||
| They are automatically available once VulcanAI is installed and are organized by resource type, but each CLI command is exposed as an independent tool inside its category. | ||
| For example, ``ros2 node info`` and ``ros2 node list`` are now two different tools instead of a single ``ros2 node`` tool. | ||
| During terminal execution, tools can be enabled or disabled individually, and complete tool groups can also be enabled or disabled at once. |
There was a problem hiding this comment.
| These tools allow VulcanAI agents to inspect and interact with a running ROS 2 system without any additional setup. | |
| They are automatically available once VulcanAI is installed and are organized by resource type, but each CLI command is exposed as an independent tool inside its category. | |
| For example, ``ros2 node info`` and ``ros2 node list`` are now two different tools instead of a single ``ros2 node`` tool. | |
| During terminal execution, tools can be enabled or disabled individually, and complete tool groups can also be enabled or disabled at once. | |
| These tools give VulcanAI agents built-in access to inspect and interact with a running ROS 2 system, with no additional setup required. | |
| Once VulcanAI is installed, each supported ROS 2 command is available as its own independent tool. | |
| For example, ``ros2 node list`` and ``ros2 node info`` are exposed as separate tools rather than as a single generic ros2 topic tool. | |
| To make tool management easier, related tools are grouped by the first part of the ROS 2 command. | |
| For example, all tools based on ``ros2 node <command>``, such as ``ros2 node list`` and ``ros2 node info``, are included in the ``ros2 node`` tool group. | |
| During terminal execution, users can enable or disable tools one by one, or enable and disable an entire group at once. |
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
No description provided.