n8n-nodes-github-copilot 3.37.3 โ†’ 3.37.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -414,11 +414,10 @@ async function testEmbeddingModels(githubToken, enableRetry = true, maxRetries =
414
414
  const testStartTime = Date.now();
415
415
  try {
416
416
  console.log("๐Ÿงช Testing embedding models...");
417
- const oauthToken = await OAuthTokenManager_1.OAuthTokenManager.getValidOAuthToken(githubToken);
418
417
  const modelsUrl = `${GitHubCopilotEndpoints_1.GITHUB_COPILOT_API.URLS.MODELS}`;
419
418
  const modelsResponse = await fetch(modelsUrl, {
420
419
  method: "GET",
421
- headers: GitHubCopilotEndpoints_1.GitHubCopilotEndpoints.getAuthHeaders(oauthToken),
420
+ headers: GitHubCopilotEndpoints_1.GitHubCopilotEndpoints.getAuthHeaders(githubToken),
422
421
  });
423
422
  if (!modelsResponse.ok) {
424
423
  throw new Error(`Failed to fetch models: ${modelsResponse.status}`);
@@ -430,6 +429,7 @@ async function testEmbeddingModels(githubToken, enableRetry = true, maxRetries =
430
429
  return modelType === "embeddings";
431
430
  });
432
431
  console.log(`๐Ÿ“Š Found ${embeddingModels.length} embedding models to test`);
432
+ const oauthToken = await OAuthTokenManager_1.OAuthTokenManager.getValidOAuthToken(githubToken);
433
433
  const testResults = {};
434
434
  const testText = "This is a test sentence for embeddings generation.";
435
435
  for (const model of embeddingModels) {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-github-copilot",
3
- "version": "3.37.3",
3
+ "version": "3.37.5",
4
4
  "description": "n8n community node for GitHub Copilot with CLI integration, Chat API access, and AI Chat Model for workflows - access GPT-5, Claude, Gemini and more using your Copilot subscription",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/sufficit/n8n-nodes-github-copilot",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-github-copilot",
3
- "version": "3.37.3",
3
+ "version": "3.37.5",
4
4
  "description": "n8n community node for GitHub Copilot with CLI integration, Chat API access, and AI Chat Model for workflows - access GPT-5, Claude, Gemini and more using your Copilot subscription",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/sufficit/n8n-nodes-github-copilot",