File size: 1,087 Bytes
b7d77a9
 
b5dd5ac
638ecb1
 
4ee1832
638ecb1
b7d77a9
 
 
55d31c3
b7d77a9
 
bc51b20
c98d690
b7d77a9
 
086914d
b7d77a9
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# config.py — Zoho + local model configuration
# IMPORTANT: This file contains sensitive credentials. Keep it local and DO NOT commit to a public repository.

CLIENT_ID = "1000.SIMKGAO5719K0TQ0QZQ31ZU57RLFNQ"
CLIENT_SECRET = "60b329b4fe51930abee900cba6524ec7332cd67e06"
REFRESH_TOKEN = "1000.47c4724c105c0275477b8e0aea8415fd.63a086b666a133ca804f692086ee2963"
ORGANIZATION_ID = "60058860935"

# Zoho API endpoints (India data center)
API_BASE = "https://www.zohoapis.in/crm/v2"
INVOICE_API_BASE = "https://invoice.zoho.in/api/v3"

# Local model (set to None if you prefer not to load a local HF model)
LOCAL_MODEL = "Qwen/Qwen3-8B"
LOCAL_TOKENIZER = None

# Optional: toggle demo behaviour at runtime via environment variable DEMO=true
# To avoid accidental API calls on startup, leave DEMO unset (or set to false) in production

# NOTE: If your LOCAL_MODEL points to a gated HF repo, ensure the runtime has proper HF auth
# (HUGGINGFACE_HUB_TOKEN or similar) and access to the model. If you don't have access, set
# LOCAL_MODEL = None or to a public model like "google/flan-t5-small".