Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

LLM Models: add GPT-4o support#62639

Merged
abeatrix merged 1 commit into
mainfrom
olafurpg/prime-236-enable-gpt-4o-in-gateway
May 13, 2024
Merged

LLM Models: add GPT-4o support#62639
abeatrix merged 1 commit into
mainfrom
olafurpg/prime-236-enable-gpt-4o-in-gateway

Conversation

@olafurpg

@olafurpg olafurpg commented May 13, 2024

Copy link
Copy Markdown
Contributor

Fixes https://linear.app/sourcegraph/issue/PRIME-236/enable-gpt-4o-in-gateway

Trying to mirror https://github.com/sourcegraph/sourcegraph/pull/61753

Previously, we only supported GPT-4 Turbo and GPT-3.5 for chat. This PR adds additional support for the new GPT-4o model.

Test plan

I was unable to get the environment running locally to test this change. I tried the following and got cody-gateway running, but I didn't manage to get my local Cody VSC instance to chat with it.

# export OAI tokens, I created a token for my personal account
bazel run //cmd/cody-gateway
# ... starts listening to localhost:9992

Fixes https://linear.app/sourcegraph/issue/PRIME-236/enable-gpt-4o-in-gateway

Previously, we only supported GPT-4 Turbo and GPT-3.5 for chat. This PR
adds additional support for the new GPT-4o model.
@abeatrix abeatrix marked this pull request as ready for review May 13, 2024 20:54
@abeatrix abeatrix merged commit f2bfaa3 into main May 13, 2024
@abeatrix abeatrix deleted the olafurpg/prime-236-enable-gpt-4o-in-gateway branch May 13, 2024 21:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants