-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Congratulations on merging #451 ! It's really great to have this available. I'm hoping for two improvements:
-
Currently, it is not possible to supply a system prompt together with tools. From reading the diff... have you experimented with simply merging the provided system prompt with the "official" prompt by the Hermes-2-Pro team? By "merging" I mean to simply append the part after "You are a tool calling AI" to the provided system prompt.
-
Streaming the tool call array JSON while it's being formed as "content" is not compliant with the OpenAI API. GPT-4 might reply to the user and invoke tools concurrently, so I guess my application is not the only one to stream "content" to the user always and expect it to be meant for the user to see. I think the model needs to be instructed to output the tools array between special tags, which are filtered from content.