Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Anthropic Bedrock request fails because SDK sends deprecated temperature parameter for Opus models

オープン
#1,557 コメント 5 件 リアクション 4 件 担当者 1 名 GitHub で見る

@roji がすでに取り組んでいます。

2026年6月3日 から。

評価

この issue はまだ評価されていません。

説明

bug

When using Copilot SDK with Anthropic provider via Bedrock Mantle, Opus 4.7 and 4.8 inference fails with HTTP 400 because the upstream API rejects temperature for this model.

Error:
400 invalid_request_error: temperature is deprecated for this model.

Environment:

  • @github/copilot-sdk: 1.0.0 (also seen previously on 1.0.0-beta.12)
  • Runtime: Node.js on macOS
  • Provider: Anthropic via Bedrock Mantle
  • Model: anthropic.claude-opus-4-7/anthropic.claude-opus-4-8

Code to replicate:

import { CopilotClient, approveAll } from "@github/copilot-sdk";

const client = new CopilotClient();

await client.start();
const session = await client.createSession({
  onPermissionRequest: approveAll,
  provider: {
    type: "anthropic",
    baseUrl: `https://bedrock-mantle.${process.env.AWS_REGION}.api.aws/anthropic`,
    apiKey: process.env.BEDROCK_API_KEY,
    modelId: "anthropic.claude-opus-4-7", // Or "anthropic.claude-opus-4-8"
  },
});

const response = await session.sendAndWait({
  prompt: "List tools and skills.",
});

console.log(response);

await session.disconnect();
主要言語
Java
スター
10.5k
フォーク
1.5k
平均マージ
1日 9時間
マージ済み PR(30日)
130

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/copilot-sdk のほかの issue

github/copilot-sdk の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。