Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/llm-workflow-engine/llm-workflow-engine
/ functions
Functions
897 in github.com/llm-workflow-engine/llm-workflow-engine
⨍
Functions
897
◇
Types & classes
56
↳
Endpoints
7
Method
handle_non_streaming_response
(self, response: AIMessage)
lwe/plugins/provider_chat_openai.py:280
Method
handle_streaming_chunk
(self, chunk: AIMessageChunk | str, _previous_chunks: list[AIMessageChunk | str])
lwe/plugins/provider_chat_openai.py:285
Method
hide_conversation
(self, conversation_id)
lwe/backends/api/conversation.py:57
Method
inject_plugin
(self, plugin_name, plugin_class)
lwe/core/plugin_manager.py:47
Method
is_system_tool
(self, filepath)
lwe/core/tool_manager.py:219
Method
launch_backend
(self, interactive=True)
lwe/core/repl.py:309
Method
llm_factory
(self)
lwe/plugins/provider_chat_openai_compat.py:53
Method
llm_factory
(self)
lwe/plugins/provider_fake_llm.py:226
Method
llm_factory
(self)
lwe/plugins/provider_chat_openai.py:250
Method
llm_pre_call
(self, llm, messages)
lwe/plugins/provider_chat_openai.py:261
Method
llm_pre_init
(self, customizations)
lwe/plugins/provider_chat_openai.py:253
Method
load_provider
(self, provider_name: str)
lwe/core/provider_manager.py:27
Method
login
(self, identifier, password)
lwe/backends/api/user.py:79
Method
logout
(self, user_id)
lwe/backends/api/user.py:97
Method
make_llm
(self, customizations=None, tools=None, tool_choice=None, use_defaults=False)
lwe/core/provider.py:329
Method
model_property_name
(self)
lwe/core/provider.py:108
Function
multiply
Multiplies a and b.
scripts/tool_calling_stub.py:29
Method
orm_edit_message
(self, message, **kwargs)
lwe/backends/api/orm.py:266
Method
orm_get_message
(self, message_id)
lwe/backends/api/orm.py:247
Method
plugin_cache_filename
(self)
lwe/core/plugin.py:28
Function
plugin_manager
(test_config, tool_manager)
tests/conftest.py:54
Method
plugin_type
(self)
lwe/core/provider.py:104
Method
plugin_type
(self)
lwe/core/plugin.py:18
Method
prepare_messages_for_llm_chat
(self, messages)
lwe/core/provider.py:368
Method
prepare_messages_for_llm_last_message
(self, messages)
lwe/core/provider.py:360
Method
prepare_messages_for_llm_stuff_messages
(self, messages)
lwe/core/provider.py:364
Method
prepare_messages_method
(self)
lwe/plugins/provider_chat_openai_compat.py:50
Method
prepare_messages_method
(self)
lwe/plugins/provider_fake_llm.py:223
Method
prepare_messages_method
(self)
lwe/plugins/provider_chat_openai.py:247
Function
preset_manager
(test_config)
tests/conftest.py:74
Method
properties
(self)
lwe/core/config.py:47
Function
provider_manager
(test_config, plugin_manager)
tests/conftest.py:61
Method
query_llm
(self, messages)
lwe/core/plugin.py:55
Method
reload_plugin
Reload a plugin. :param plugin_name: Name of plugin :type plugin_name: str :returns: success, plugin_instance, messa
lwe/backends/api/backend.py:392
Method
run
run the lwe_input action module
lwe/backends/api/workflow/action_plugins/lwe_input.py:94
Method
run_template
Runs the given template with the provided variables and overrides. :param template_name: Name of the template to run. :param
lwe/backends/api/backend.py:139
Method
sample_method
(self)
tests/unit/test_util.py:183
Method
set_name
(self, name)
lwe/core/plugin.py:36
Method
set_title
(self, title, conversation_id=None)
tests/base.py:84
Method
setup
(self)
lwe/core/provider.py:115
Method
setup
(self)
lwe/core/plugin.py:67
Method
setup
Setup the plugin. This is called by the plugin manager after the backend is initialized.
lwe/plugins/echo.py:23
Method
setup
(self)
lwe/plugins/provider_chat_openai.py:25
Method
setup
(self)
lwe/plugins/examples.py:26
Method
static_models
(self)
lwe/core/provider.py:147
Method
static_models
(self)
lwe/plugins/provider_chat_openai.py:42
Function
template_manager
(test_config)
tests/conftest.py:67
Method
terminate_stream
Handles termination signal, passing it to the request if present. :param _signal: The signal that triggered the termination.
lwe/backends/api/backend.py:74
Method
terminate_stream
Handles termination signal and stops the stream if it's running.
lwe/backends/api/request.py:608
Method
test_NoneAttrs
(self)
tests/unit/test_util.py:218
Function
test_add_message
(test_config, tool_manager, provider_manager)
tests/unit/test_conversation_storage_manager.py:131
Function
test_add_new_messages_to_conversation
(test_config, tool_manager, provider_manager)
tests/unit/test_conversation_storage_manager.py:110
Function
test_api_backend_activate_preset_fails_with_invalid_model
(test_config)
tests/system/test_api_backend.py:473
Function
test_api_backend_doesnt_override_active_preset_when_preset_in_request_overrides
(test_config)
tests/system/test_api_backend.py:434
Function
test_api_backend_doesnt_override_system_message_when_system_message_in_request_overrides
( test_config, )
tests/system/test_api_backend.py:516
Function
test_api_backend_get_history
(test_config)
tests/system/test_api_backend.py:33
Function
test_api_backend_message_string_creates_valid_conversation_and_messages
(test_config)
tests/system/test_api_backend.py:64
Function
test_api_backend_messages_list_creates_valid_conversation_and_messages
(test_config)
tests/system/test_api_backend.py:96
Function
test_api_backend_non_streaming_valid_response_no_user
(test_config)
tests/system/test_api_backend.py:45
Function
test_api_backend_non_streaming_valid_response_with_user
(test_config)
tests/system/test_api_backend.py:56
Function
test_api_backend_overrides_active_preset_when_activate_preset_in_request_overrides
(test_config)
tests/system/test_api_backend.py:453
Function
test_api_backend_overrides_provider_model_when_in_request_overrides
(test_config)
tests/system/test_api_backend.py:550
Function
test_api_backend_request_preset_fails_with_invalid_model
(test_config)
tests/system/test_api_backend.py:495
Function
test_api_backend_sets_active_preset_on_backend_via_config
(test_config)
tests/system/test_api_backend.py:426
Function
test_api_backend_sets_custom_title_when_in_request_overrides
(test_config)
tests/system/test_api_backend.py:536
Function
test_api_backend_streaming_with_print_stream
(test_config, capsys)
tests/system/test_api_backend.py:631
Function
test_api_backend_streaming_with_streaming_callback
(test_config)
tests/system/test_api_backend.py:606
Function
test_api_backend_switches_active_preset_when_switching_conversations
(test_config)
tests/system/test_api_backend.py:586
Function
test_api_backend_template_creates_valid_conversation_and_messages
(test_config, datadir)
tests/system/test_api_backend_template.py:84
Function
test_api_backend_template_doesnt_override_active_preset_when_preset_in_request_overrides
( test_config, datadir )
tests/system/test_api_backend_template.py:357
Function
test_api_backend_template_doesnt_override_system_message_when_system_message_in_request_overrides
( test_config, datadir, )
tests/system/test_api_backend_template.py:393
Function
test_api_backend_template_include_another_template
(test_config, datadir)
tests/system/test_api_backend_template.py:453
Function
test_api_backend_template_non_streaming_valid_response_no_user
(test_config, datadir)
tests/system/test_api_backend_template.py:68
Function
test_api_backend_template_non_streaming_valid_response_with_user
(test_config, datadir)
tests/system/test_api_backend_template.py:76
Function
test_api_backend_template_overrides_active_preset_when_activate_preset_in_request_overrides
( test_config, datadir )
tests/system/test_api_backend_template.py:375
Function
test_api_backend_template_overrides_provider_model_when_in_request_overrides
( test_config, datadir )
tests/system/test_api_backend_template.py:422
Function
test_api_backend_template_sets_custom_title_when_in_request_overrides
(test_config, datadir)
tests/system/test_api_backend_template.py:411
Function
test_api_backend_template_simple
(test_config, datadir)
tests/system/test_api_backend_template.py:42
Function
test_api_backend_template_variable_substitution
(test_config, datadir)
tests/system/test_api_backend_template.py:50
Function
test_api_backend_template_with_tool_call_and_return_on_tool_call_creates_valid_conversation_and_messages
( test_config, datadir, )
tests/system/test_api_backend_template.py:206
Function
test_api_backend_template_with_tool_call_and_return_on_tool_response_creates_valid_conversation_and_messages
( test_config, datadir, )
tests/system/test_api_backend_template.py:273
Function
test_api_backend_template_with_tool_call_creates_valid_conversation_and_messages
( test_config, datadir )
tests/system/test_api_backend_template.py:116
Function
test_api_backend_with_files
Test that backend handles files in request_overrides correctly.
tests/system/test_api_backend.py:651
Function
test_api_backend_with_files_streaming
Test that backend handles files in request_overrides correctly in streaming mode.
tests/system/test_api_backend.py:663
Function
test_api_backend_with_tool_call_and_return_on_tool_call_creates_valid_conversation_and_messages
( test_config, )
tests/system/test_api_backend.py:251
Function
test_api_backend_with_tool_call_and_return_on_tool_response_creates_valid_conversation_and_messages
( test_config, )
tests/system/test_api_backend.py:331
Function
test_api_backend_with_tool_call_creates_valid_conversation_and_messages
(test_config)
tests/system/test_api_backend.py:152
Function
test_attach_files_multiple_files
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:706
Function
test_attach_files_no_files
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:685
Function
test_attach_files_with_files
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:691
Function
test_build_chat_request
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:725
Function
test_build_chat_request_with_files
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:737
Function
test_build_message_from_template
(template_manager)
tests/unit/test_template_manager.py:82
Function
test_build_request_config_failure
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:203
Function
test_build_request_config_failure_with_invalid_model
( test_config, tool_manager, provider_manager, preset_manager )
tests/unit/test_request.py:218
Function
test_build_request_config_success_no_preset_name
( test_config, tool_manager, provider_manager, preset_manager )
tests/unit/test_request.py:136
Function
test_build_request_config_success_with_preset_name
( test_config, tool_manager, provider_manager, preset_manager )
tests/unit/test_request.py:169
Function
test_build_tool_response_message_no_id
( test_config, tool_manager, provider_manager, preset_manager )
tests/unit/test_request.py:1273
Function
test_build_tool_response_message_with_id
( test_config, tool_manager, provider_manager, preset_manager )
tests/unit/test_request.py:1288
Function
test_call_llm_non_streaming
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:673
← previous
next →
601–700 of 897, ranked by callers