Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 12, 2025
2 parents 3448023 + 3a298f1 commit 50dae9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/modules/llm/base-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export abstract class BaseProvider implements ProviderInfo {

const apiTokenKey = this.config.apiTokenKey || defaultApiTokenKey;
const apiKey =
apiKeys?.[this.name] || serverEnv?.[apiTokenKey] || process?.env?.[apiTokenKey] || manager.env?.[baseUrlKey];
apiKeys?.[this.name] || serverEnv?.[apiTokenKey] || process?.env?.[apiTokenKey] || manager.env?.[apiTokenKey];

return {
baseUrl,
Expand Down
1 change: 1 addition & 0 deletions app/lib/webcontainer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ if (!import.meta.env.SSR) {
Promise.resolve()
.then(() => {
return WebContainer.boot({
coep: 'credentialless',
workdirName: WORK_DIR_NAME,
forwardPreviewErrors: true, // Enable error forwarding from iframes
});
Expand Down

0 comments on commit 50dae9d

Please sign in to comment.