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

server: add warning message for deprecated context field in /api/generate #7878

Merged
merged 1 commit into from
Nov 30, 2024

Conversation

jmorganca
Copy link
Member

The context parameter in /api/generate has been longtime replaced by functionality in the /api/chat endpoint. This PR adds a deprecation warning in the logs when used.

@jmorganca jmorganca force-pushed the jmorganca/deprecate-context branch 2 times, most recently from 2535ba4 to 3f17495 Compare November 30, 2024 21:38
@jmorganca jmorganca force-pushed the jmorganca/deprecate-context branch from 3f17495 to 16f353f Compare November 30, 2024 21:49
@jmorganca jmorganca merged commit d543b28 into main Nov 30, 2024
13 checks passed
@jmorganca jmorganca deleted the jmorganca/deprecate-context branch November 30, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants