Skip to content

Commit 2436edb

Browse files
authored
Merge pull request #8 from TensorBlock/dev-production-milestone#1
2 parents ea41e5d + ea8877d commit 2436edb

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

app/main.ts

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -184,35 +184,6 @@ function createWindow(): BrowserWindow {
184184
return win;
185185
}
186186

187-
// async function testCallAnthropic() {
188-
// try {
189-
// const response = await axios.post("https://api.anthropic.com/v1/messages", {
190-
// headers: {
191-
// "x-api-key": "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",
192-
// "Content-Type": "application/json",
193-
// "anthropic-version": "2023-06-01",
194-
// "anthropic-dangerous-direct-browser-access": "true",
195-
// },
196-
// body: JSON.stringify({
197-
// messages: [{
198-
// role: "user",
199-
// content: "Hello, how are you?"
200-
// }],
201-
// model: "claude-3-5-sonnet-20241022",
202-
// max_tokens: 1024,
203-
// }),
204-
// });
205-
206-
// console.log(response);
207-
208-
// const data = response.data;
209-
// return data;
210-
// } catch (error) {
211-
// console.error(error);
212-
// return null;
213-
// }
214-
// }
215-
216187
/**
217188
* Get system information including OS, CPU, and RAM
218189
*/

0 commit comments

Comments
 (0)