Skip to content

Disable reasoning for votes (free win) #25

Description

@talkaboutdesign

In game.ts:80-87, reasoning effort is set globally:

const openrouter = createOpenRouter({
apiKey: process.env.OPENROUTER_API_KEY,
extraBody: {
reasoning: { effort: "medium" },
},
});

Every vote is just picking "A" or "B" — reasoning tokens are wasted there. You could create a
second client with reasoning: { effort: "none" } for voting calls, or pass extraBody per-call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions