-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR consists solely of refactoring. There are no behavior changes. Address the following warts on the API: - Although flows are a key concept in Genkit, and the genkit package includes a DefineFlow function, the Flow type itself lived in the core package. - The core package contained several exported methods that were intended only to be called by the genkit package, a clear sign that something is off in the API design. The actual visible changes to achieve this are small, but a lot of code was moved. Most of the changes involve moving unexported symbols into internal packages so they could be used by other packages. The main API changes are: - Flow is now in the genkit package. - There are no more InternalXXX symbols in core. There are some other minor changes, like the removal of the NoStream type.
- Loading branch information
Showing
23 changed files
with
495 additions
and
460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.