improvements

This commit is contained in:
2025-08-04 12:26:52 -07:00
parent e1b7da3dbe
commit 3fa43432d5
2 changed files with 12 additions and 8 deletions

10
.env
View File

@@ -1,5 +1,9 @@
SECRET_KEY=your-secret-key-here
DATABASE_URL=postgresql://postgres:password@localhost:5432/email_organizer_dev
OPENAI_API_KEY=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
OPENAI_BASE_URL=https://openrouter.ai/api/v1
OPENAI_MODEL=qwen/qwen3-coder
# OPENAI_API_KEY=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
# OPENAI_BASE_URL=https://openrouter.ai/api/v1
# OPENAI_MODEL=qwen/qwen3-coder
#
OPENAI_API_KEY=aaoeu
OPENAI_BASE_URL=http://localhost:8082/v1
OPENAI_MODEL=

View File

@@ -34,10 +34,10 @@ class TestIMAPRoutes:
response = client.post('/api/imap/test', data={
'server': 'test.com',
'port': '993',
'username': 'test@test.com',
'password': 'testpass',
'use_ssl': 'on'
'port': '5153',
'username': 'user1@example.com',
'password': 'password1',
'use_ssl': 'off'
})
assert response.status_code == 200