Skip to content
Snippets Groups Projects

Create initial Tanuki bot api endpoint

Merged Terri Chu requested to merge tchu-bot-create-new-api into master
Compare and Show latest version
8 files
+ 321
29
Compare changes
  • Side-by-side
  • Inline
Files
8
+ 1
5
@@ -86,11 +86,6 @@
@@ -86,11 +86,6 @@
get 'search/aggregations' => 'search#aggregations', as: :search_aggregations
get 'search/aggregations' => 'search#aggregations', as: :search_aggregations
end
end
# Tanuki Bot
Gitlab.ee do
post 'tanuki_bot/ask' => 'llm/tanuki_bot#ask', as: :tanuki_bot_ask, constraints: { format: :json }
end
# JSON Web Token
# JSON Web Token
get 'jwt/auth' => 'jwt#auth'
get 'jwt/auth' => 'jwt#auth'
post 'jwt/auth', to: proc { [404, {}, ['']] }
post 'jwt/auth', to: proc { [404, {}, ['']] }
@@ -176,6 +171,7 @@
@@ -176,6 +171,7 @@
draw :country
draw :country
draw :country_state
draw :country_state
draw :subscription
draw :subscription
 
draw :llm
scope '/push_from_secondary/:geo_node_id' do
scope '/push_from_secondary/:geo_node_id' do
draw :git_http
draw :git_http
Loading