Skip to content

Commit 2668c43

Browse files
Merge branch 'mvoortman/workflow_v2' into main
2 parents c416127 + 3ed4f01 commit 2668c43

File tree

108 files changed

+7191
-7527
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+7191
-7527
lines changed

api/app/clients/ChatGPTClient.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,9 @@ class ChatGPTClient extends BaseClient {
245245

246246
baseURL = this.langchainProxy
247247
? constructAzureURL({
248-
baseURL: this.langchainProxy,
249-
azureOptions: this.azure,
250-
})
248+
baseURL: this.langchainProxy,
249+
azureOptions: this.azure,
250+
})
251251
: this.azureEndpoint.split(/(?<!\/)\/(chat|completion)\//)[0];
252252

253253
if (this.options.forcePrompt) {
@@ -340,7 +340,6 @@ class ChatGPTClient extends BaseClient {
340340
opts.body = JSON.stringify(modelOptions);
341341

342342
if (modelOptions.stream) {
343-
344343
return new Promise(async (resolve, reject) => {
345344
try {
346345
let done = false;

api/app/clients/prompts/artifacts.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ const { EModelEndpoint, ArtifactModes } = require('librechat-data-provider');
33
const { generateShadcnPrompt } = require('~/app/clients/prompts/shadcn-docs/generate');
44
const { components } = require('~/app/clients/prompts/shadcn-docs/components');
55

6-
// eslint-disable-next-line no-unused-vars
76
const artifactsPromptV1 = dedent`The assistant can create and reference artifacts during conversations.
87
98
Artifacts are for substantial, self-contained content that users might modify or reuse, displayed in a separate UI window for clarity.

api/app/clients/tools/structured/TraversaalSearch.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ class TraversaalSearch extends Tool {
3838
return apiKey;
3939
}
4040

41-
// eslint-disable-next-line no-unused-vars
4241
async _call({ query }, _runManager) {
4342
const body = {
4443
query: [query],

0 commit comments

Comments
 (0)