Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tool auto generated Invoke reflection names are too long #323

Open
StephenHodgson opened this issue Jun 10, 2024 · 0 comments
Open

Tool auto generated Invoke reflection names are too long #323

StephenHodgson opened this issue Jun 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@StephenHodgson
Copy link
Member

          @StephenHodgson I've found that Assistant v2 doesn't always understand well when type.FullName is included, because the namespaces I use are long and not relevant/confusing to the AI context.

I found that removing this and only including the method.Name solved it.

I realize it isn't the ideal scenario in case two types contain the same method name, but it would still be helpful with an omit namespace option if possible. For now I've been removing it manually here in each update :)

Originally posted by @Bodekaer in RageAgainstThePixel/com.openai.unity#235 (comment)

Proposed fix:

Converting long namespace names to hash file string guid.

@StephenHodgson StephenHodgson self-assigned this Jun 10, 2024
@StephenHodgson StephenHodgson added the enhancement New feature or request label Jun 10, 2024
@StephenHodgson StephenHodgson added help wanted Extra attention is needed good first issue Good for newcomers labels Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Development

No branches or pull requests

1 participant