0xPlaygrounds / 0xPlaygrounds/rig

feat: add a universal API for reasoning

オープン
#951 コメント 5 件 リアクション 3 件 担当者 1 名 @gold-silver-copper が担当を希望しています GitHub で見る
feat
主要言語
Rust
スター
8.6k
フォーク
959
平均マージ
4時間 32分
マージ済み PR(30日)
117

説明

- [x] I have looked for existing issues (including closed) about this

## Feature Request
Allow reasoning to be turned on and configured through provider-agnostic `AgentBuilder` methods.

### Motivation
Currently, enabling reasoning in rig is very provider-specfic with configuration usually being done through the miscellaneous additional_params method. This makes writing multi-provider AI software more difficult as the user of the library must configure each provider seperately.

### Proposal
This feature might be a little hard to implement as almost all providers have very different configuration methods for reasoning, with some providers not supporting it at all. However, I feel like most configuration should be abstractable into generic methods, reserving untranslatable provider-exclusive options for additional_params (e.g. Gemini's reasoning budget).

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

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

調査の方向性

Look at the AgentBuilder struct and existing provider-specific reasoning configurations. Examine how additional_params is currently used. The goal is to design a unified API that abstracts reasoning configuration across providers, handling provider-specific options via a fallback mechanism. Start by reviewing the provider modules to understand their differing approaches.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
ai-infra-agents, backend-api-design
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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