MCPcopy Create free account

hub / github.com/llm-workflow-engine/llm-workflow-engine / functions

Functions897 in github.com/llm-workflow-engine/llm-workflow-engine

Methodhandle_non_streaming_response
(self, response: AIMessage)
lwe/plugins/provider_chat_openai.py:280
Methodhandle_streaming_chunk
(self, chunk: AIMessageChunk | str, _previous_chunks: list[AIMessageChunk | str])
lwe/plugins/provider_chat_openai.py:285
Methodhide_conversation
(self, conversation_id)
lwe/backends/api/conversation.py:57
Methodinject_plugin
(self, plugin_name, plugin_class)
lwe/core/plugin_manager.py:47
Methodis_system_tool
(self, filepath)
lwe/core/tool_manager.py:219
Methodlaunch_backend
(self, interactive=True)
lwe/core/repl.py:309
Methodllm_factory
(self)
lwe/plugins/provider_chat_openai_compat.py:53
Methodllm_factory
(self)
lwe/plugins/provider_fake_llm.py:226
Methodllm_factory
(self)
lwe/plugins/provider_chat_openai.py:250
Methodllm_pre_call
(self, llm, messages)
lwe/plugins/provider_chat_openai.py:261
Methodllm_pre_init
(self, customizations)
lwe/plugins/provider_chat_openai.py:253
Methodload_provider
(self, provider_name: str)
lwe/core/provider_manager.py:27
Methodlogin
(self, identifier, password)
lwe/backends/api/user.py:79
Methodlogout
(self, user_id)
lwe/backends/api/user.py:97
Methodmake_llm
(self, customizations=None, tools=None, tool_choice=None, use_defaults=False)
lwe/core/provider.py:329
Methodmodel_property_name
(self)
lwe/core/provider.py:108
Functionmultiply
Multiplies a and b.
scripts/tool_calling_stub.py:29
Methodorm_edit_message
(self, message, **kwargs)
lwe/backends/api/orm.py:266
Methodorm_get_message
(self, message_id)
lwe/backends/api/orm.py:247
Methodplugin_cache_filename
(self)
lwe/core/plugin.py:28
Functionplugin_manager
(test_config, tool_manager)
tests/conftest.py:54
Methodplugin_type
(self)
lwe/core/provider.py:104
Methodplugin_type
(self)
lwe/core/plugin.py:18
Methodprepare_messages_for_llm_chat
(self, messages)
lwe/core/provider.py:368
Methodprepare_messages_for_llm_last_message
(self, messages)
lwe/core/provider.py:360
Methodprepare_messages_for_llm_stuff_messages
(self, messages)
lwe/core/provider.py:364
Methodprepare_messages_method
(self)
lwe/plugins/provider_chat_openai_compat.py:50
Methodprepare_messages_method
(self)
lwe/plugins/provider_fake_llm.py:223
Methodprepare_messages_method
(self)
lwe/plugins/provider_chat_openai.py:247
Functionpreset_manager
(test_config)
tests/conftest.py:74
Methodproperties
(self)
lwe/core/config.py:47
Functionprovider_manager
(test_config, plugin_manager)
tests/conftest.py:61
Methodquery_llm
(self, messages)
lwe/core/plugin.py:55
Methodreload_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
Methodrun
run the lwe_input action module
lwe/backends/api/workflow/action_plugins/lwe_input.py:94
Methodrun_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
Methodsample_method
(self)
tests/unit/test_util.py:183
Methodset_name
(self, name)
lwe/core/plugin.py:36
Methodset_title
(self, title, conversation_id=None)
tests/base.py:84
Methodsetup
(self)
lwe/core/provider.py:115
Methodsetup
(self)
lwe/core/plugin.py:67
Methodsetup
Setup the plugin. This is called by the plugin manager after the backend is initialized.
lwe/plugins/echo.py:23
Methodsetup
(self)
lwe/plugins/provider_chat_openai.py:25
Methodsetup
(self)
lwe/plugins/examples.py:26
Methodstatic_models
(self)
lwe/core/provider.py:147
Methodstatic_models
(self)
lwe/plugins/provider_chat_openai.py:42
Functiontemplate_manager
(test_config)
tests/conftest.py:67
Methodterminate_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
Methodterminate_stream
Handles termination signal and stops the stream if it's running.
lwe/backends/api/request.py:608
Methodtest_NoneAttrs
(self)
tests/unit/test_util.py:218
Functiontest_add_message
(test_config, tool_manager, provider_manager)
tests/unit/test_conversation_storage_manager.py:131
Functiontest_add_new_messages_to_conversation
(test_config, tool_manager, provider_manager)
tests/unit/test_conversation_storage_manager.py:110
Functiontest_api_backend_activate_preset_fails_with_invalid_model
(test_config)
tests/system/test_api_backend.py:473
Functiontest_api_backend_doesnt_override_active_preset_when_preset_in_request_overrides
(test_config)
tests/system/test_api_backend.py:434
Functiontest_api_backend_doesnt_override_system_message_when_system_message_in_request_overrides
( test_config, )
tests/system/test_api_backend.py:516
Functiontest_api_backend_get_history
(test_config)
tests/system/test_api_backend.py:33
Functiontest_api_backend_message_string_creates_valid_conversation_and_messages
(test_config)
tests/system/test_api_backend.py:64
Functiontest_api_backend_messages_list_creates_valid_conversation_and_messages
(test_config)
tests/system/test_api_backend.py:96
Functiontest_api_backend_non_streaming_valid_response_no_user
(test_config)
tests/system/test_api_backend.py:45
Functiontest_api_backend_non_streaming_valid_response_with_user
(test_config)
tests/system/test_api_backend.py:56
Functiontest_api_backend_overrides_active_preset_when_activate_preset_in_request_overrides
(test_config)
tests/system/test_api_backend.py:453
Functiontest_api_backend_overrides_provider_model_when_in_request_overrides
(test_config)
tests/system/test_api_backend.py:550
Functiontest_api_backend_request_preset_fails_with_invalid_model
(test_config)
tests/system/test_api_backend.py:495
Functiontest_api_backend_sets_active_preset_on_backend_via_config
(test_config)
tests/system/test_api_backend.py:426
Functiontest_api_backend_sets_custom_title_when_in_request_overrides
(test_config)
tests/system/test_api_backend.py:536
Functiontest_api_backend_streaming_with_print_stream
(test_config, capsys)
tests/system/test_api_backend.py:631
Functiontest_api_backend_streaming_with_streaming_callback
(test_config)
tests/system/test_api_backend.py:606
Functiontest_api_backend_switches_active_preset_when_switching_conversations
(test_config)
tests/system/test_api_backend.py:586
Functiontest_api_backend_template_creates_valid_conversation_and_messages
(test_config, datadir)
tests/system/test_api_backend_template.py:84
Functiontest_api_backend_template_doesnt_override_active_preset_when_preset_in_request_overrides
( test_config, datadir )
tests/system/test_api_backend_template.py:357
Functiontest_api_backend_template_doesnt_override_system_message_when_system_message_in_request_overrides
( test_config, datadir, )
tests/system/test_api_backend_template.py:393
Functiontest_api_backend_template_include_another_template
(test_config, datadir)
tests/system/test_api_backend_template.py:453
Functiontest_api_backend_template_non_streaming_valid_response_no_user
(test_config, datadir)
tests/system/test_api_backend_template.py:68
Functiontest_api_backend_template_non_streaming_valid_response_with_user
(test_config, datadir)
tests/system/test_api_backend_template.py:76
Functiontest_api_backend_template_overrides_active_preset_when_activate_preset_in_request_overrides
( test_config, datadir )
tests/system/test_api_backend_template.py:375
Functiontest_api_backend_template_overrides_provider_model_when_in_request_overrides
( test_config, datadir )
tests/system/test_api_backend_template.py:422
Functiontest_api_backend_template_sets_custom_title_when_in_request_overrides
(test_config, datadir)
tests/system/test_api_backend_template.py:411
Functiontest_api_backend_template_simple
(test_config, datadir)
tests/system/test_api_backend_template.py:42
Functiontest_api_backend_template_variable_substitution
(test_config, datadir)
tests/system/test_api_backend_template.py:50
Functiontest_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
Functiontest_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
Functiontest_api_backend_template_with_tool_call_creates_valid_conversation_and_messages
( test_config, datadir )
tests/system/test_api_backend_template.py:116
Functiontest_api_backend_with_files
Test that backend handles files in request_overrides correctly.
tests/system/test_api_backend.py:651
Functiontest_api_backend_with_files_streaming
Test that backend handles files in request_overrides correctly in streaming mode.
tests/system/test_api_backend.py:663
Functiontest_api_backend_with_tool_call_and_return_on_tool_call_creates_valid_conversation_and_messages
( test_config, )
tests/system/test_api_backend.py:251
Functiontest_api_backend_with_tool_call_and_return_on_tool_response_creates_valid_conversation_and_messages
( test_config, )
tests/system/test_api_backend.py:331
Functiontest_api_backend_with_tool_call_creates_valid_conversation_and_messages
(test_config)
tests/system/test_api_backend.py:152
Functiontest_attach_files_multiple_files
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:706
Functiontest_attach_files_no_files
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:685
Functiontest_attach_files_with_files
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:691
Functiontest_build_chat_request
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:725
Functiontest_build_chat_request_with_files
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:737
Functiontest_build_message_from_template
(template_manager)
tests/unit/test_template_manager.py:82
Functiontest_build_request_config_failure
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:203
Functiontest_build_request_config_failure_with_invalid_model
( test_config, tool_manager, provider_manager, preset_manager )
tests/unit/test_request.py:218
Functiontest_build_request_config_success_no_preset_name
( test_config, tool_manager, provider_manager, preset_manager )
tests/unit/test_request.py:136
Functiontest_build_request_config_success_with_preset_name
( test_config, tool_manager, provider_manager, preset_manager )
tests/unit/test_request.py:169
Functiontest_build_tool_response_message_no_id
( test_config, tool_manager, provider_manager, preset_manager )
tests/unit/test_request.py:1273
Functiontest_build_tool_response_message_with_id
( test_config, tool_manager, provider_manager, preset_manager )
tests/unit/test_request.py:1288
Functiontest_call_llm_non_streaming
(test_config, tool_manager, provider_manager, preset_manager)
tests/unit/test_request.py:673
← previousnext →601–700 of 897, ranked by callers