mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-27 12:46:13 +01:00
🐳 experimental: Dev Image Workflow & Remove Unused Code (#1928)
* chore: remove unused code in progressCallback, as well as handle reply.trim(), post `getCompletion` * chore(Dockerfile): remove curl installation * experimental: dev image parallelized with matrix strategy and building for amd64/arm64 support * make platforms explicit
This commit is contained in:
parent
388dc1789b
commit
93803323cf
4 changed files with 33 additions and 58 deletions
|
|
@ -624,7 +624,7 @@ class OpenAIClient extends BaseClient {
|
|||
const { finish_reason } = streamResult.choices[0];
|
||||
opts.addMetadata({ finish_reason });
|
||||
}
|
||||
return reply.trim();
|
||||
return (reply ?? '').trim();
|
||||
}
|
||||
|
||||
initializeLLM({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue