-
Notifications
You must be signed in to change notification settings - Fork 10
Enhance: Add ability to do inline prompting to choose oauth/pat #96
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
Conversation
Name string `json:"name,omitempty"` | ||
Sensitive *bool `json:"sensitive,omitempty"` | ||
Description string `json:"description,omitempty"` | ||
Options []string `json:"options,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tried to keep the SDKs well-tested. Please add a test case for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
absolutely
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thedadams Added a test for this. It will likely fail until we have the new build for gptscript
Signed-off-by: Daishan Peng <[email protected]>
97b9c9d
to
5df35b4
Compare
@@ -160,7 +160,7 @@ func TestCancelRun(t *testing.T) { | |||
} | |||
|
|||
func TestAbortChatCompletionRun(t *testing.T) { | |||
tool := ToolDef{Instructions: "What is the capital of the united states?"} | |||
tool := ToolDef{Instructions: "Generate a real long essay about the meaning of life."} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to fix this. It is flaky and will fail the test if the message are sent in one event
Add options to a field to indicate whether this field can be option/select styles.