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
30229a91
Unverified
Commit
30229a91
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
1ade380b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
examples/typescript-simplechat/client.ts
examples/typescript-simplechat/client.ts
+0
-1
No files found.
examples/typescript-simplechat/client.ts
View file @
30229a91
...
@@ -42,7 +42,6 @@ async function chat(messages: Message[]): Promise<Message> {
...
@@ -42,7 +42,6 @@ async function chat(messages: Message[]): Promise<Message> {
if
(
json
.
done
===
false
)
{
if
(
json
.
done
===
false
)
{
process
.
stdout
.
write
(
json
.
message
.
content
);
process
.
stdout
.
write
(
json
.
message
.
content
);
content
.
push
(
json
.
message
.
content
)
content
.
push
(
json
.
message
.
content
)
// messages.push({role: "system", content: text})
}
}
}
}
...
...
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