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

thinking is back baby! #79

Merged
merged 1 commit into from
Jan 28, 2025
Merged

thinking is back baby! #79

merged 1 commit into from
Jan 28, 2025

Conversation

appatalks
Copy link
Owner

This pull request includes changes to the geminiSend function in the core/js/gl-google.js file to enhance the functionality and configuration of the Gemini API request. The most important changes include adding system instructions, configuring generation parameters, and enabling thought inclusion in the response.

Enhancements to Gemini API request:

  • Added systemInstruction to include the first message as the system instruction in the request body.
  • Configured generationConfig with parameters such as temperature, maxOutputTokens, responseMimeType, and thinking_config to fine-tune the response generation.

@appatalks appatalks merged commit c67dc83 into main Jan 28, 2025
4 checks passed
@appatalks appatalks deleted the appatalks-v1alpha-thinking branch January 28, 2025 03:00
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.

1 participant