peterpeter8585 commited on
Commit
9febc25
·
verified ·
1 Parent(s): f982bc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ class GitHubModelLLM(LLM):
33
  raise ValueError("GitHub API token이 필요합니다.")
34
 
35
  headers = {
36
- "Authorization": f"Bearer {self.token}",
37
  "Content-Type": "application/json",
38
  }
39
  body = {"model": self.model, "messages": [{"role": "user", "content": prompt}]}
 
33
  raise ValueError("GitHub API token이 필요합니다.")
34
 
35
  headers = {
36
+ "Authorization": "Bearer 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",
37
  "Content-Type": "application/json",
38
  }
39
  body = {"model": self.model, "messages": [{"role": "user", "content": prompt}]}