diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08fd286..25254fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,10 +26,10 @@ jobs: uses: ./ with: #deepseekKey: ${{ secrets.DEEPSEEK_KEY }} - geminiKey: ${{ secrets.GEMINI_KEY }} + #geminiKey: ${{ secrets.GEMINI_KEY }} #openAiKey: ${{ secrets.OPENAI_KEY }} #openAiOrg: ${{ secrets.OPENAI_ORG }} - #anthropicKey: ${{ secrets.ANTHROPIC_KEY }} + anthropicKey: ${{ secrets.ANTHROPIC_KEY }} #notionKey: ${{ secrets.NOTION_KEY }} #notionDbId: ${{ secrets.NOTION_DB_ID }} #linearKey: ${{ secrets.LINEAR_KEY }} diff --git a/action.yml b/action.yml index 379410a..2336699 100644 --- a/action.yml +++ b/action.yml @@ -93,6 +93,7 @@ runs: with: version: "0.6.2" enable-cache: true + cache-dependency-glob: "**/uv.lock" - run: echo ${{ github.action_path }} shell: bash diff --git a/src/claude_summary.py b/src/claude_summary.py index 14a97d3..e50c60c 100644 --- a/src/claude_summary.py +++ b/src/claude_summary.py @@ -1,7 +1,7 @@ -import anthropic +from anthropic import Anthropic def claude_summary(issues, prompt, key, model="claude-3-5-sonnet-20240620"): - client = anthropic.Anthropic( + client = Anthropic( api_key=key, ) fullPrompt = f"""