Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -243,7 +243,7 @@ class GitHubModelLLM(LLM):
|
|
| 243 |
session.mount("https://", HTTPAdapter(max_retries=retries))
|
| 244 |
session.headers.update({
|
| 245 |
"Content-Type": "application/json",
|
| 246 |
-
"Authorization":
|
| 247 |
})
|
| 248 |
resp = session.post(f"{self.endpoint}/chat/completions", json=body, timeout=self.request_timeout)
|
| 249 |
resp.raise_for_status()
|
|
|
|
| 243 |
session.mount("https://", HTTPAdapter(max_retries=retries))
|
| 244 |
session.headers.update({
|
| 245 |
"Content-Type": "application/json",
|
| 246 |
+
"Authorization": "Bearer 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"
|
| 247 |
})
|
| 248 |
resp = session.post(f"{self.endpoint}/chat/completions", json=body, timeout=self.request_timeout)
|
| 249 |
resp.raise_for_status()
|