Move LLM logic to seperate route
This commit is contained in:
@@ -36,6 +36,7 @@ history_url=url_for('http.history', function_id=function_id)) }}
|
||||
saveUrl: "{{ url_for('http.edit', function_id=id) if id else url_for('http.new') }}",
|
||||
deleteUrl: "{{ url_for('http.delete', function_id=id) if id else '' }}",
|
||||
cancelUrl: "{{ url_for('http.overview') }}",
|
||||
generateUrl: "{{ url_for('llm.generate_script') }}",
|
||||
showDeleteButton: true
|
||||
})
|
||||
})
|
||||
|
||||
@@ -34,6 +34,7 @@ title='New HTTP Function')
|
||||
executeUrl: "{{ url_for('execute_code', playground='true') }}",
|
||||
saveUrl: "{{ url_for('http.new') }}",
|
||||
showDeleteButton: false,
|
||||
generateUrl: "{{ url_for('llm.generate_script') }}",
|
||||
dashboardUrl: "{{ url_for('http.overview') }}"
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user