| 开发者 | wordpressdotorg |
|---|---|
| 更新时间 | 2026年10月28日 02:53 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
/wp-content/plugins/ai-provider-for-google/GOOGLE_API_KEY environment variable or constantVisit the Google AI Studio to create an API key for the Gemini API.
No, this plugin requires the PHP AI Client plugin to be installed and activated. It provides the Google-specific implementation that the PHP AI Client uses.
File construction, with clearer indexed ResponseException errors and expanded test coverage (#55).parametersJsonSchema, normalizing schema maps/empty schemas to JSON objects, filtering unsupported declaration fields (e.g., annotations), and preserving Gemini function call IDs across continuation requests (#51).tests/ and phpunit.xml.dist from Composer package archives by adding export-ignore rules to .gitattributes, so these development/testing files are no longer shipped in consumers’ vendor/ directories (#48).GoogleTextToSpeechConversionModel, covering request preparation, prompt parsing, audio/WAV response handling, and authentication behavior (#49).SECURITY.md, including responsible disclosure instructions and a link to the official WordPress HackerOne program for submitting security concerns (#52)..github/CODEOWNERS global fallback entry assigning ownership of all files to @WordPress/ai-provider-for-google-maintainers when no more specific rule matches (#53).CONTRIBUTING.md and updating README.md with current maintainer contacts (#54).thoughtSignature values across turns so function calls remain valid in multi-step conversations (#36).totalTokenCount when available, ensuring prompt tokens are included in reported totals while keeping a backward-compatible fallback for older responses (#44).additionalProperties from the JSON response schema (#18).