MCPcopy Create free account

hub / github.com/Haidra-Org/AI-Horde / functions

Functions1,285 in github.com/Haidra-Org/AI-Horde

Functionremove_all_model_default_params
(model)
horde/apis/models/v2.py:20
Methodreport_suspicion
Increases the suspicion of an IP in redis temporarily
horde/countermeasures.py:112
Functionrequest_headers
(api_key: str, CIVERSION: str)
tests/integration/conftest.py:172
Methodrequire_upfront_kudos
Returns A tuple First entry in the tuple is True if this wp requires that the user already has the required kudos to fulfil it else
horde/classes/stable/waiting_prompt.py:418
Methodreset_suspicion
Clears the worker's suspicion and resets their reasons
horde/classes/base/worker.py:224
Functionretrieve_available_collections
Retrieves all collection details from DB.
horde/database/functions.py:1810
Functionretrieve_available_models
Retrieves model details from Redis cache, or from DB if cache is unavailable
horde/database/functions.py:441
Functionretrieve_available_styles
Retrieves all style details from DB.
horde/database/functions.py:1786
Functionretrieve_totals
Retrieves horde totals from Redis cache
horde/database/functions.py:749
Methodrun
(self)
horde/threads.py:54
Methodservice
(self)
horde/classes/base/user.py:392
Functionserviceinfo
()
horde/routes.py:516
Methodset_generation
(self, generation, things_per_sec, **kwargs)
horde/classes/kobold/processing_generation.py:87
Methodset_generation
(self, generation, things_per_sec, **kwargs)
horde/classes/base/processing_generation.py:101
Methodset_generation
Set to its own function to it can be overwritten depending on the class
horde/apis/v2/stable.py:731
Methodset_info
(self, new_info)
horde/classes/base/style.py:172
Methodset_info
(self, new_info)
horde/classes/base/worker.py:258
Methodset_job_ttl
(self)
horde/classes/stable/processing_generation.py:165
Methodset_name
(self, new_name)
horde/classes/base/style.py:165
Methodset_name
(self, new_name)
horde/classes/base/worker.py:240
Methodset_owner
(self, new_owner)
horde/classes/base/team.py:94
Functionshutdown
(seconds)
horde/database/functions.py:66
Methodspecial
(self)
horde/classes/base/user.py:428
Methodspeed
(self)
horde/classes/base/worker.py:165
Methodstart_interrogation
(self, worker)
horde/classes/stable/interrogation.py:291
Methodstats_img_models
(self)
tests/stress/locustsuite/users/meta.py:132
Methodstats_img_totals
(self)
tests/stress/locustsuite/users/meta.py:127
Methodstats_text_totals
(self)
tests/stress/locustsuite/users/meta.py:137
Methodstatus_not_found
(self)
tests/stress/locustsuite/users/misuse.py:52
Methodstop
(self)
horde/threads.py:101
Functionstore_available_models
Stores the retrieved model details as json for 5 seconds horde-wide
horde/database/threads.py:307
Functionstore_compiled_filter_regex
Compiles each filter as a final regex and stores it in redit
horde/database/threads.py:526
Functionstore_compiled_filter_regex_replacements
Compiles all regex and their replacements and stores them in redis
horde/database/threads.py:539
Functionstore_known_image_models
Stores the known image models in the database
horde/database/threads.py:548
Functionstore_patreon_members
()
horde/database/threads.py:371
Functionstore_stripe_members
()
horde/database/threads.py:443
Functionstore_totals
Stores the calculated totals as json. This is never expired to avoid ending up with massive operations in case the thread dies
horde/database/threads.py:318
Methodsubmit_unknown_job
(self)
tests/stress/locustsuite/users/misuse.py:138
Methodteams_list
(self)
tests/stress/locustsuite/users/meta.py:86
Functiontelemetry_app
Bare Flask app with telemetry early-init applied.
tests/unit/test_telemetry.py:36
Functionterms
()
horde/routes.py:500
Functiontest_alchemist_palette_and_describe
(client, request_headers: dict[str, str])
tests/integration/test_alchemy.py:117
Functiontest_alchemy_vectorize
(client, request_headers: dict[str, str])
tests/integration/test_alchemy.py:62
Methodtest_all_exception_classes_are_http_exceptions
(self)
tests/unit/test_exceptions.py:51
Methodtest_all_seven_role_props_issue_one_user_roles_select
( self, user_with_roles, db_session, assert_query_count, )
tests/unit/test_user_roles.py:68
Methodtest_all_strings
(self)
tests/unit/test_exceptions.py:68
Methodtest_allowlist_worker_in_list_passes
(self)
tests/unit/test_worker_can_generate.py:171
Methodtest_allowlist_worker_not_in_list_rejected
(self)
tests/unit/test_worker_can_generate.py:180
Methodtest_anon_blocked_when_disallowed
(self, db_session, monkeypatch)
tests/unit/test_database_functions.py:66
Methodtest_anon_blocked_when_disallowed
(self, db_session, monkeypatch)
tests/unit/test_database_functions.py:76
Methodtest_anonymous_worker_forbidden
(self, client)
tests/integration/test_worker_ops.py:81
Methodtest_auth_lookup_is_single_select
(self, db_session, make_user, assert_query_count)
tests/unit/test_database_functions.py:33
Functiontest_auto_object_store_falls_back_when_complete_env_is_unreachable
(monkeypatch)
tests/unit/test_dependency_runtime.py:16
Methodtest_bad_request
(self)
tests/unit/test_exceptions.py:19
Methodtest_basis_adjustment_adds_before_scaling
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:109
Methodtest_basis_payload_is_close_to_kudos_basis
A 50-step 512×512 generation should cost ~10 kudos. This is the model's documented design intent (see ``KudosModel.KUDOS_BASIS`` and
tests/unit/test_kudos_pricing.py:66
Methodtest_basis_scale_multiplies
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:116
Methodtest_blacklist_match_is_case_insensitive
(self)
tests/unit/test_worker_can_generate.py:151
Methodtest_block_timeout_matches_cidr
(self, redis_caches)
tests/unit/test_countermeasures.py:105
Methodtest_calculate_kudos_empty_model_list_uses_13b_assumption
(self)
tests/unit/test_kobold_text_wp.py:84
Methodtest_calculate_kudos_matched_targeting_env_floors_to_min
(self, monkeypatch)
tests/unit/test_kobold_text_wp.py:89
Methodtest_cannot_transfer_to_self
(self, client, app, api_key)
tests/integration/test_user_ops.py:172
Functiontest_censored_text_gen_round_trip
Validates that a worker submitting with state='censored' is reflected in the client status.
tests/integration/test_text.py:87
Methodtest_check_file_returns_false_on_404
(self, fake_clients)
tests/unit/test_r2.py:96
Methodtest_clean_prompt_passes_blacklist
(self)
tests/unit/test_worker_can_generate.py:156
Methodtest_clean_text
(self)
tests/unit/test_utils.py:197
Methodtest_combined_adjustment_and_scale
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:124
Functiontest_csam_text_gen_round_trip_via_metadata
Validates that csam reported via gen_metadata is reflected as state='csam'.
tests/integration/test_text.py:99
Functiontest_csam_text_gen_round_trip_via_state
Validates that a worker submitting with state='csam' is reflected in the client status.
tests/integration/test_text.py:93
Functiontest_db_pool_timeout_counter_increments_on_pool_exhaustion
(telemetry_app, monkeypatch)
tests/unit/test_telemetry.py:92
Methodtest_default_adjustment_is_one
Documented behaviour: the default ``basis_adjustment`` is 1, so an unadorned ``calculate_kudos(payload)`` returns 110% of the model's
tests/unit/test_kudos_pricing.py:130
Methodtest_default_allowing_state_returns_true
(self)
tests/unit/test_worker_can_generate.py:80
Methodtest_delete_timeout
(self, redis_caches)
tests/unit/test_countermeasures.py:97
Methodtest_denylist_worker_in_list_rejected
(self)
tests/unit/test_worker_can_generate.py:189
Methodtest_denylist_worker_not_in_list_passes
(self)
tests/unit/test_worker_can_generate.py:198
Methodtest_doubling_resolution_increases_kudos
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:90
Methodtest_doubling_steps_roughly_scales_kudos
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:80
Methodtest_download_url_honours_explicit_bucket
(self, fake_clients)
tests/unit/test_r2.py:82
Methodtest_download_url_uses_get_object
(self, fake_clients)
tests/unit/test_r2.py:60
Methodtest_empty_blacklist_short_circuits
(self)
tests/unit/test_worker_can_generate.py:161
Methodtest_empty_horde_returns_no_job_but_registers_worker
(self, client, make_api_user)
tests/integration/test_worker_ops.py:90
Methodtest_empty_list
(self)
tests/unit/test_utils.py:153
Methodtest_empty_modify_is_rejected
(self, client, make_api_user)
tests/integration/test_worker_ops.py:158
Methodtest_empty_regex
(self)
tests/unit/test_utils.py:140
Methodtest_empty_workers_list_passes_allowlist
(self)
tests/unit/test_worker_can_generate.py:207
Functiontest_external_object_store_reports_unreachable_complete_env
(monkeypatch)
tests/unit/test_dependency_runtime.py:38
Methodtest_extra_kudos_burn_adds_one
(self)
tests/unit/test_kobold_text_wp.py:81
Methodtest_extract_ipv6_subnet
(self)
tests/unit/test_countermeasures.py:41
Methodtest_find_worker_by_id_rejects_non_uuid
(self, db_session)
tests/unit/test_database_functions.py:88
Methodtest_find_worker_by_name_unknown_returns_none
(self, db_session)
tests/unit/test_database_functions.py:91
Functiontest_flask_extensions_importable
db and cache should be importable without a live app.
tests/unit/test_imports.py:26
Functiontest_flux_image_gen
(client, request_headers: dict[str, str])
tests/integration/test_image.py:111
Methodtest_forbidden
(self)
tests/unit/test_exceptions.py:24
Methodtest_found
(self)
tests/unit/test_utils.py:145
Methodtest_found
(self, db_session, make_user)
tests/unit/test_database_functions.py:43
Methodtest_found
(self, db_session, make_user)
tests/unit/test_database_functions.py:72
Methodtest_found_by_hashed_key
(self, db_session, make_user)
tests/unit/test_database_functions.py:19
Methodtest_full_cycle_awards_kudos_and_rejects_duplicate
(self, client, api_key, make_api_user)
tests/integration/test_worker_ops.py:210
Methodtest_generate_api_key_format
(self)
tests/unit/test_utils.py:186
Methodtest_generate_api_key_unique
(self)
tests/unit/test_utils.py:191
← previousnext →1,001–1,100 of 1,285, ranked by callers