feat: Add Stability API server relay sending

This commit is contained in:
licoy
2024-07-09 09:50:04 +08:00
parent a16725ac17
commit 2b0153807c
10 changed files with 220 additions and 31 deletions

View File

@@ -124,6 +124,9 @@ export const getServerSideConfig = () => {
anthropicApiVersion: process.env.ANTHROPIC_API_VERSION,
anthropicUrl: process.env.ANTHROPIC_URL,
stabilityUrl: process.env.STABILITY_URL,
stabilityApiKey: process.env.STABILITY_API_KEY,
gtmId: process.env.GTM_ID,
needCode: ACCESS_CODES.size > 0,