Skip to content

Conversation

thedadams
Copy link
Contributor

No description provided.

@thedadams thedadams requested a review from ibuildthecloud July 22, 2024 16:30

// 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.

@thedadams thedadams force-pushed the default-config-embed-sdk branch from a013b20 to 13c31fd Compare July 22, 2024 17:12
@thedadams thedadams merged commit 30bb65a into gptscript-ai:main Jul 22, 2024
@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