Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add reasoning effort to agent config model + support in core #9603

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

fontanierh
Copy link
Contributor

Description

  • add reasoningEffort on the agent_configurations table (optional)
  • add support for reasoning_effort config on core LLM / Chat blocks for OAI provider (as extras config).

Risk

critical path for pretty much everything + database migration

Deploy Plan

  1. apply DB schema migration (prodbox)
  2. deploy core (adds support for the config) and deploy front (functionally a no-op)

Copy link

github-actions bot commented Dec 23, 2024

Warnings
⚠️

Files in **/lib/models/ have been modified and the PR has the migration-ack label. Don't forget to run the migration from prodbox.

Generated by 🚫 dangerJS against f067563

@fontanierh fontanierh force-pushed the feat/reasoning-effort branch from 95dbc9d to f067563 Compare December 23, 2024 10:37
Copy link
Contributor

@tdraier tdraier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooc, what is reasoning effort ?

Comment on lines 5 to 10
CREATE OR REPLACE FUNCTION perform_migration(backfilled boolean DEFAULT false)
RETURNS VARCHAR AS $$
BEGIN
IF NOT backfilled THEN
RAISE NOTICE 'The backfill script: is required before applying this migation. If you already did it, run psql with --set=backfilled=1 argument.';
END IF;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what backfill is needed for that ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed, for some reason our migration generator adds all that stuff (I never want it personally)

@fontanierh
Copy link
Contributor Author

@tdraier it's the amount of test time compute you want to use for o1 models: https://platform.openai.com/docs/api-reference/chat/create

@fontanierh fontanierh added the migration-ack 📁 Label to acknowledge that a migration is required. label Dec 23, 2024
@fontanierh fontanierh merged commit a6aa46e into main Dec 23, 2024
9 checks passed
@fontanierh fontanierh deleted the feat/reasoning-effort branch December 23, 2024 10:50
Copy link
Contributor

@spolu spolu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

New agent config field! Show time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migration-ack 📁 Label to acknowledge that a migration is required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants