Skip to content

Commit

Permalink
ready to merge
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed Apr 9, 2024
1 parent 82a9824 commit 8e18d98
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 0 additions & 2 deletions app/LlmDriver/Orchestrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ public function handle(array $messagesArray, Chat $chat): ?string
$functions = LlmDriverFacade::driver($chat->chatable->getDriver())
->functionPromptChat($messagesArray);

put_fixture('orchestrate_functions_ollama.json', $functions);

if ($this->hasFunctions($functions)) {
/**
* @TODO
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/Collection/Show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ onMounted(() => {
});
const reset = () => {
router.reload();
//router.reload();
}
</script>
Expand Down
9 changes: 1 addition & 8 deletions tests/fixtures/orchestrate_functions_ollama.json
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
[
{
"name": "summarize_collection",
"arguments": [
"TLDR it for me"
]
}
]
[]

0 comments on commit 8e18d98

Please sign in to comment.