Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
5344f886
Unverified
Commit
5344f886
authored
Dec 07, 2023
by
Matt Williams
Committed by
GitHub
Dec 07, 2023
Browse files
Update examples/typescript-simplechat/client.ts
Co-authored-by:
Bruce MacDonald
<
brucewmacdonald@gmail.com
>
parent
6cc823c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/typescript-simplechat/client.ts
examples/typescript-simplechat/client.ts
+1
-1
No files found.
examples/typescript-simplechat/client.ts
View file @
5344f886
...
...
@@ -45,7 +45,7 @@ async function chat(messages: Message[]): Promise<Message> {
}
}
return
{
role
:
"
assistant
"
,
content
:
content
.
join
(
""
)
};
return
{
role
:
"
assistant
"
,
content
:
content
};
}
async
function
askQuestion
():
Promise
<
void
>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment