-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary state passing and added GPT-4o (#11)
* Remove unnecessary state passing and added gpt-4o * Action order * Fix dependency + log duration --------- Co-authored-by: Niels Simonides <[email protected]>
- Loading branch information
Showing
5 changed files
with
19 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ suspend fun runOpenAPIAgent( | |
hackerNewsOpenAPISpec: String, | ||
) { | ||
agent { | ||
openAIModel(openAIAPIKey, OpenAIModelIdentifier.GPT4Turbo) | ||
openAIModel(openAIAPIKey, OpenAIModelIdentifier.GPT4O) | ||
task("Send Hacker News stories about AI") { | ||
addInstruction("Retrieve the top 10 Hacker News stories") | ||
addInstruction("Send stories, if any, about AI to [email protected]") | ||
|
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