# # 测试环境

# # 本地milvus
# milvus_uri = "http://127.0.0.1:19530"

# # 测试环境 mysql 数据库配置
# mysql_config = {
#         # # "host": "10.168.100.144",
#         # # "port": 3306,
#         # "host": "xia0miduo.gicp.net",
#         # "port": 3336,
#         # "user": "root",
#         # "password": "T@kai2025",
#         # "database": "deepseek_local",
#         # # "database": "rag_master",
#         "host": "10.168.100.10",
#         "port": 3306,
#         "user": "takai",
#         "password": "T@kai2025",
#         "database": "deepseek_local"

# }

# # 测试minio配置
# minio_config = {
#     "minio_endpoint" : 'xia0miduo.gicp.net:9000',
#     "minio_access_key" : 'minioadmin',
#     "minio_secret_key" : 'minioadmin',
#     "minio_bucket" : 'papbtest',
#     "minio_url": "http://xia0miduo.gicp.net:9000",
#     "flag": False
# }

# # 测试环境vllm 链接
# # vllm_url = "http://xia0miduo.gicp.net:8102/v1"
# model_name_vllm_url_dict = {
#     "deepseek-chat":"https://api.deepseek.com",
#     "DeepSeek-R1-Distill-Qwen-14B": "http://xia0miduo.gicp.net:8102/v1",
#     "deepcoder-14b-sft": "http://xia0miduo.gicp.net:8102/v1",
#     "Qwen3-Coder-30B-loft": "http://xia0miduo.gicp.net:8102/v1"
# }

# # 测试环境redis 配置
# redis_config_dict = {
#     "host": "localhost",
#     "port": 6379,
#     "db": 1
# } 

# # 进度反馈Java中转服务器配置
# progress_callback_config = {
#     "default_url": "http://10.10.10.2:8091/resource/sse/send",
#     "timeout": 5,
#     "estimate_seconds": 120
# } 


线上环境

# 线上环境 mysql 数据库配置
mysql_config = {
        "host": "127.0.0.1",
        "port": 3306,
        "user": "root",
        "password": "Lx304307910",
        "database": "chat_deepseek",
}

# 线上milvus配置
milvus_uri = "http://127.0.0.1:19530"

# 线上minio配置
minio_config = {
        "minio_endpoint" : '10.1.28.14:9000',
        "minio_access_key" : 'uavadmin',
        "minio_secret_key" : 'YEDG9DZ8oby97UGMyxW&',
        "minio_bucket" : 'deepseek-doc',
        "minio_url": "https://10.1.28.14:9000",
        "flag": True
}

# 线上vllm 链接
# vllm_url = "http://10.1.27.6:11817/v1"
model_name_vllm_url_dict = {
    "Qwen3-30B": "http://10.1.27.6:11817/v1",
    "Qwen2-72B": "http://10.1.27.6:11818/v1",
    "Qwen3-30B-vl-chat": "http://10.1.27.6:11817/v1",
}

# 线上环境redis 配置
redis_config_dict = {
    "host": "localhost",
    "port": 6379,
    "db": 1
} 


# 线上进度反馈Java中转服务器配置
progress_callback_config = {
    "default_url": "http://10.10.10.2:8091/resource/sse/send",
    "timeout": 5,
    "estimate_seconds": 120
} 
