# -*- coding: utf-8 -*- # from odoo import http # class CloudLlm(http.Controller): # @http.route('/cloud_llm/cloud_llm', auth='public') # def index(self, **kw): # return "Hello, world" # @http.route('/cloud_llm/cloud_llm/objects', auth='public') # def list(self, **kw): # return http.request.render('cloud_llm.listing', { # 'root': '/cloud_llm/cloud_llm', # 'objects': http.request.env['cloud_llm.cloud_llm'].search([]), # }) # @http.route('/cloud_llm/cloud_llm/objects/', auth='public') # def object(self, obj, **kw): # return http.request.render('cloud_llm.object', { # 'object': obj # })