Add /completions endpoint to proxy to model gateway
Adds a new REST endpoint: POST /code_suggestions/completions Proxies requests to this endpoint to the model gateway, and then on to vertex. Adds documentation for all endpoints in the /code_suggestions path. EE: true Changelog: added
显示
- doc/api/api_resources.md 51 个添加, 50 个删除doc/api/api_resources.md
- doc/api/code_suggestions.md 81 个添加, 0 个删除doc/api/code_suggestions.md
- ee/config/feature_flags/development/code_suggestions_completion_api.yml 8 个添加, 0 个删除...ure_flags/development/code_suggestions_completion_api.yml
- ee/lib/api/code_suggestions.rb 32 个添加, 0 个删除ee/lib/api/code_suggestions.rb
- ee/spec/requests/api/code_suggestions_spec.rb 118 个添加, 0 个删除ee/spec/requests/api/code_suggestions_spec.rb
doc/api/code_suggestions.md
0 → 100644
想要评论请 注册 或 登录