Skip to content

Commit

Permalink
Work
Browse files Browse the repository at this point in the history
  • Loading branch information
TotoB12 committed Jun 18, 2024
1 parent e92fa6d commit 02dbfcb
Show file tree
Hide file tree
Showing 3 changed files with 5,361 additions and 1,821 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ Remember this, and keep it in mind for your answers`;
}

const initial_response = await cohere.chatStream({
force_single_step: true,
model: "command-r-plus",
tools: tools,
temperature: 0.7,
Expand Down Expand Up @@ -499,6 +500,7 @@ Remember this, and keep it in mind for your answers`;
console.log(tool_results);

response = await cohere.chatStream({
force_single_step: true,
model: "command-r-plus",
tools: tools,
tool_results: tool_results,
Expand Down
Loading

0 comments on commit 02dbfcb

Please sign in to comment.