Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reverse-proxy config to support custom api host. #220

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

caijh
Copy link

@caijh caijh commented May 30, 2023

No description provided.

.map(choice => sanitizeMessage(choice.message!.content)),
);
} catch (error) {
const errorAsAny = error as any;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to not cast error to any? What do you think about something like this?

if ("code" in "error" && error.code === "ENOTFOUND") {
// ...
}

@sleonia
Copy link

sleonia commented Jan 2, 2024

Could you please set tabsize to the default in this project? Because this changes might confuse in viewing git history via blame or something like this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants