Dmitry Kisselev commited on
Commit
dc2633d
·
1 Parent(s): ef4f2be

Initial deployment of customer support chatbot

Browse files
Files changed (2) hide show
  1. agent.py +0 -2
  2. config.py +1 -1
agent.py CHANGED
@@ -12,8 +12,6 @@ class SupportAgent:
12
 
13
  def __init__(self, mcp_client: MCPClient, auth_handler: AuthHandler):
14
  # Initialize OpenAI client
15
- # Traces are automatically sent to OpenAI dashboard when using the Python SDK
16
- # View them at: https://platform.openai.com/logs/traces
17
  self.client = OpenAI(api_key=OPENAI_API_KEY)
18
  self.model = OPENAI_MODEL
19
  self.mcp_client = mcp_client
 
12
 
13
  def __init__(self, mcp_client: MCPClient, auth_handler: AuthHandler):
14
  # Initialize OpenAI client
 
 
15
  self.client = OpenAI(api_key=OPENAI_API_KEY)
16
  self.model = OPENAI_MODEL
17
  self.mcp_client = mcp_client
config.py CHANGED
@@ -16,7 +16,7 @@ MCP_SERVER_URL = os.getenv("MCP_SERVER_URL", "https://vipfapwm3x.us-east-1.awsap
16
  HF_TOKEN = os.getenv("HF_TOKEN", "")
17
 
18
  # OpenAI Model
19
- OPENAI_MODEL = "gpt-4o-mini" # Note: gpt-4.1-mini is not a valid model name
20
 
21
  # OpenAI Tracing Configuration
22
  # Set OPENAI_TRACING=true to enable tracing (default: enabled)
 
16
  HF_TOKEN = os.getenv("HF_TOKEN", "")
17
 
18
  # OpenAI Model
19
+ OPENAI_MODEL = "gpt-4.1-mini"
20
 
21
  # OpenAI Tracing Configuration
22
  # Set OPENAI_TRACING=true to enable tracing (default: enabled)