Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ class BasicAgent:
|
|
| 27 |
def __init__(self):
|
| 28 |
"""Initialize the agent with OpenAI client and setup."""
|
| 29 |
print("BasicAgent initializing...")
|
| 30 |
-
self.client = OpenAI(api_key=
|
| 31 |
self.question_history: Dict[str, Any] = {} # Store question context
|
| 32 |
print("BasicAgent initialized successfully.")
|
| 33 |
|
|
|
|
| 27 |
def __init__(self):
|
| 28 |
"""Initialize the agent with OpenAI client and setup."""
|
| 29 |
print("BasicAgent initializing...")
|
| 30 |
+
self.client = OpenAI(api_key="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",base_url="https://models.github.ai/inference")
|
| 31 |
self.question_history: Dict[str, Any] = {} # Store question context
|
| 32 |
print("BasicAgent initialized successfully.")
|
| 33 |
|