Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

Use correct api_client parameters for new simulator#33

Open
hijohnnylin wants to merge 2 commits into
openai:mainfrom
decoderesearch:fix_simulator_api_client_call
Open

Use correct api_client parameters for new simulator#33
hijohnnylin wants to merge 2 commits into
openai:mainfrom
decoderesearch:fix_simulator_api_client_call

Conversation

@hijohnnylin

@hijohnnylin hijohnnylin commented Dec 29, 2023

Copy link
Copy Markdown
Contributor

New simulator should use messages parameter instead of prompt to call the chat endpoint instead of the completion endpoint.

This also removes echo.

@henktillman henktillman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

thanks! iiuc, this should also automatically cause the simulator to use https://api.openai.com/v1/chat/completions instead of https://api.openai.com/v1/completions

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants