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

fix: use default config in embedded SDK server #652

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

thedadams
Copy link
Contributor

No description provided.

@@ -56,6 +56,8 @@ func Run(ctx context.Context, opts Options) error {
// EmbeddedStart allows running the server as an embedded process that may use Stdin for input.
// It returns the address the server is listening on.
func EmbeddedStart(ctx context.Context, opts Options) (string, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why you no like my variadic approach :( I love doing opts ...Options now. It's so nicely composable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can update that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Signed-off-by: Donnie Adams <donnie@acorn.io>
@thedadams thedadams merged commit 30bb65a into gptscript-ai:main Jul 22, 2024
10 checks passed
@thedadams thedadams deleted the default-config-embed-sdk branch July 22, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants