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

Update OpenAI model ID mappings #4889

Merged

Conversation

Pwuts
Copy link
Member

@Pwuts Pwuts commented Jul 5, 2023

Background

OpenAI introduced a new set of models on 13 June 2023. From the docs:

On June 27th, 2023, gpt-4 will be updated to point from gpt-4-0314 to gpt-4-0613, the latest model iteration.

On June 27th, 2023, gpt-3.5-turbo will be updated to point from gpt-3.5-turbo-0301 to gpt-3.5-turbo-0613.

Changes

Update the model ID mappings in autogpt.llm.providers.openai to point to the new -0613 models.

Documentation

x

Test Plan

CI

PR Quality Checklist

  • My pull request is atomic and focuses on a single change.
  • I have thoroughly tested my changes with multiple different prompts.
  • I have considered potential risks and mitigations for my changes.
  • I have documented my changes clearly and comprehensively.
  • I have not snuck in any "extra" small tweaks changes.
  • I have run the following commands against my code to ensure it passes our linters:
    black .
    isort .
    mypy
    autoflake --remove-all-unused-imports --recursive --ignore-init-module-imports --ignore-pass-after-docstring autogpt tests --in-place

@netlify
Copy link

netlify bot commented Jul 5, 2023

Deploy Preview for auto-gpt-docs canceled.

Name Link
🔨 Latest commit d0ecdad
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/64a5cb832cf72a0008f7fbc8

@github-actions github-actions bot added the size/s label Jul 5, 2023
@Pwuts Pwuts added API costs Related to monitoring/reduction of running costs and removed size/s labels Jul 5, 2023
@codecov
Copy link

codecov bot commented Jul 5, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (b9f0133) 49.90% compared to head (d0ecdad) 49.90%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4889   +/-   ##
=======================================
  Coverage   49.90%   49.90%           
=======================================
  Files         116      116           
  Lines        4813     4813           
  Branches      649      649           
=======================================
  Hits         2402     2402           
  Misses       2226     2226           
  Partials      185      185           
Impacted Files Coverage Δ
autogpt/llm/providers/openai.py 90.82% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Pwuts Pwuts added this to the v0.4.4 Release milestone Jul 5, 2023
@github-actions github-actions bot added the size/s label Jul 5, 2023
@Pwuts Pwuts merged commit 0c8288b into Significant-Gravitas:master Jul 5, 2023
@Pwuts Pwuts deleted the update-openai-model-mapping branch July 5, 2023 20:36
dayofthedave pushed a commit to dayofthedave/Auto-GPT that referenced this pull request Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API costs Related to monitoring/reduction of running costs size/s
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants