-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
Using the @ symbol anywhere in the prompt seems to invoke the agent.
This makes prompts with code problematic
The following does not work as expected
class TestClass:
@staticmethod def some_method():
pass
And outputs
Swapping over to agent chat. Type /exit to exit agent execution loop early.
However removing the @ works
class TestClass:
staticmethod def some_method():
pass
Outputs
It seems like you are asking about a class named “TestClass” and its method “some_method”. Is there anything specific you would like to know about this class or method?
Are there known steps to reproduce?
Using @ anywhere in prompt triggers agent chat
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working