gefiwek187 commited on
Commit
5af9bad
·
verified ·
1 Parent(s): 9cc245b

Update backend.py

Browse files
Files changed (1) hide show
  1. backend.py +1 -3
backend.py CHANGED
@@ -31,9 +31,7 @@ class CustomOpenAILLM(LLM):
31
  return "custom_openai"
32
 
33
  # Set environment variables
34
- os.environ["OPENAI_API_BASE"] = "https://openrouter.ai/api/v1"
35
- os.environ["OPENAI_MODEL_NAME"] = "microsoft/phi-3-medium-128k-instruct:free" # Adjust based on available model
36
- os.environ["OPENAI_API_KEY"] = "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" # Replace with your actual API key
37
 
38
  # Initialize the custom LLM
39
  custom_llm = CustomOpenAILLM()
 
31
  return "custom_openai"
32
 
33
  # Set environment variables
34
+
 
 
35
 
36
  # Initialize the custom LLM
37
  custom_llm = CustomOpenAILLM()