Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:

- name: Enable automerge
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}
run: gh pr merge "$PR_URL" --auto --squash
2 changes: 1 addition & 1 deletion src/core/git/GitHttpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const gitHttpClient = {
const res = await secureFetch(url, {
method,
headers,
body: body ? new Blob(body) : undefined,
body: body ? new Blob(body as BlobPart[]) : undefined,
});

const responseHeaders: Record<string, string> = {};
Expand Down
2 changes: 2 additions & 0 deletions src/services/ai/openai-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ export function parseOpenAIContent(

if (message.tool_calls) {
for (const toolCall of message.tool_calls) {
if (toolCall.type !== 'function') continue;

let parsedInput: Record<string, unknown> = {};
try {
parsedInput = JSON.parse(toolCall.function.arguments);
Expand Down
Loading