There was an error while loading. Please reload this page.
1 parent a48043f commit cc8245bCopy full SHA for cc8245b
1 file changed
functions/api/docs-chat.ts
@@ -27,10 +27,7 @@ type ChatRequestBody = {
27
28
const DEFAULT_MODEL = 'gemini-flash-lite-latest'
29
const DEFAULT_MAX_TOKENS = 1200
30
-const DEFAULT_CORS_ORIGINS = [
31
- 'https://notionnext.tangly1024.com',
32
- 'https://blog.tangly1024.com'
33
-]
+const DEFAULT_CORS_ORIGINS = ['https://notionnext.tangly1024.com']
34
const MAX_REQUEST_BYTES = 20_000
35
const MAX_MESSAGES = 6
36
const MAX_USER_TEXT_CHARS = 1000
0 commit comments