Skip to content

Great project! One question though #44

Closed

Description

@manwithsteelnerves

Thanks for great initiative!

I see the tools are custom made and corresponding commands are implemented on the unity scripts side.

Question @justinpbarnett
Any reason for doing custom commands instead of directly allowing the editor api functionality which makes it more modular. I understand the benefits of current system where you handle the required cases, but just curious why the other approach was not taken.


Example

Current Approach
Tool : SaveScene -> Get's the current scene followed by saving the scene

Why not
Tool : GetCurrentScene
Tool: SaveScene

Activity

  1. justinpbarnett commented on Mar 24, 2025

    @justinpbarnett
    Contributor

    Definitely some of the custom commands need to be optimized. All the editor commands are exposed though through get_available_commands and execute_command

    So you really can do anything in the editor. All those are just abstracted away because with the current way tools are handled by agents, they start to get overwhelmed if you get above something like 30 total and we're already at like 35

  2. manwithsteelnerves commented on Mar 24, 2025

    @manwithsteelnerves
    Author

    Definitely some of the custom commands need to be optimized. All the editor commands are exposed though through get_available_commands and execute_command

    So you really can do anything in the editor. All those are just abstracted away because with the current way tools are handled by agents, they start to get overwhelmed if you get above something like 30 total and we're already at like 35

    Thanks for the reply! I didn't notice as it was done with reflection. Its great way to get all!

    But, I don't see descriptions for these commands. Aren't these required? Llm can pick without any issues?

  3. added
    duplicate
    on Mar 24, 2025
  4. justinpbarnett commented on Mar 24, 2025

    @justinpbarnett
    Contributor

    Definitely need an overhaul of how I'm handling all these tools. Quickly added them to get it working and now need to optimize for context and the model's awareness. Gonna attach this to issue #30 to reference when I work on that.

  5. manwithsteelnerves commented on Mar 24, 2025

    @manwithsteelnerves
    Author

    Great! Thanks!
    May be over time the tool count doesn't matter for a better system.

  6. justinpbarnett commented on Apr 1, 2025

    @justinpbarnett
    Contributor

    Overhauled tools and gave direct access to all Unity menu commands in PR #68

  7. linked a pull request that will close this issueFeature/tool overhaul #68on Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions