Skip to content

Commit 1734e45

Browse files
committed
Update test_tools.py
1 parent 9b094e4 commit 1734e45

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_tools.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33
import requests
44
from typing import Generator, List, Dict, Any
55
from dataclasses import dataclass
6+
import os
67

78
# --- CONSTANTS & CONFIGURATION ---
89
# Note: Ensure your MockServer/Proxy is running on this port
10+
# GATEWAY_URL = "https://api-bailian.siliconflow.cn/api/v1/services/aigc/text-generation/generation"
911
GATEWAY_URL = "http://localhost:8000/api/v1/services/aigc/text-generation/generation"
10-
API_KEY = "sk-test-vector-integrity"
12+
# GATEWAY_URL = "http://localhost:8000/siliconflow/models/deepseek-ai/DeepSeek-R1"
13+
# GATEWAY_URL = "https://api-bailian.siliconflow.cn/siliconflow/models/deepseek-ai/DeepSeek-R1"
14+
API_KEY = os.getenv("SILICONFLOW_API_KEY", "test_api_key")
1115

1216
# Define the Tool Schema Vector
1317
TOOL_VECTOR_WEATHER = [

0 commit comments

Comments
 (0)