Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Haidra-Org/AI-Horde
/ functions
Functions
1,285 in github.com/Haidra-Org/AI-Horde
⨍
Functions
1,285
◇
Types & classes
287
↳
Endpoints
37
Function
remove_all_model_default_params
(model)
horde/apis/models/v2.py:20
Method
report_suspicion
Increases the suspicion of an IP in redis temporarily
horde/countermeasures.py:112
Function
request_headers
(api_key: str, CIVERSION: str)
tests/integration/conftest.py:172
Method
require_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
Method
reset_suspicion
Clears the worker's suspicion and resets their reasons
horde/classes/base/worker.py:224
Function
retrieve_available_collections
Retrieves all collection details from DB.
horde/database/functions.py:1810
Function
retrieve_available_models
Retrieves model details from Redis cache, or from DB if cache is unavailable
horde/database/functions.py:441
Function
retrieve_available_styles
Retrieves all style details from DB.
horde/database/functions.py:1786
Function
retrieve_totals
Retrieves horde totals from Redis cache
horde/database/functions.py:749
Method
run
(self)
horde/threads.py:54
Method
service
(self)
horde/classes/base/user.py:392
Function
serviceinfo
()
horde/routes.py:516
Method
set_generation
(self, generation, things_per_sec, **kwargs)
horde/classes/kobold/processing_generation.py:87
Method
set_generation
(self, generation, things_per_sec, **kwargs)
horde/classes/base/processing_generation.py:101
Method
set_generation
Set to its own function to it can be overwritten depending on the class
horde/apis/v2/stable.py:731
Method
set_info
(self, new_info)
horde/classes/base/style.py:172
Method
set_info
(self, new_info)
horde/classes/base/worker.py:258
Method
set_job_ttl
(self)
horde/classes/stable/processing_generation.py:165
Method
set_name
(self, new_name)
horde/classes/base/style.py:165
Method
set_name
(self, new_name)
horde/classes/base/worker.py:240
Method
set_owner
(self, new_owner)
horde/classes/base/team.py:94
Function
shutdown
(seconds)
horde/database/functions.py:66
Method
special
(self)
horde/classes/base/user.py:428
Method
speed
(self)
horde/classes/base/worker.py:165
Method
start_interrogation
(self, worker)
horde/classes/stable/interrogation.py:291
Method
stats_img_models
(self)
tests/stress/locustsuite/users/meta.py:132
Method
stats_img_totals
(self)
tests/stress/locustsuite/users/meta.py:127
Method
stats_text_totals
(self)
tests/stress/locustsuite/users/meta.py:137
Method
status_not_found
(self)
tests/stress/locustsuite/users/misuse.py:52
Method
stop
(self)
horde/threads.py:101
Function
store_available_models
Stores the retrieved model details as json for 5 seconds horde-wide
horde/database/threads.py:307
Function
store_compiled_filter_regex
Compiles each filter as a final regex and stores it in redit
horde/database/threads.py:526
Function
store_compiled_filter_regex_replacements
Compiles all regex and their replacements and stores them in redis
horde/database/threads.py:539
Function
store_known_image_models
Stores the known image models in the database
horde/database/threads.py:548
Function
store_patreon_members
()
horde/database/threads.py:371
Function
store_stripe_members
()
horde/database/threads.py:443
Function
store_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
Method
submit_unknown_job
(self)
tests/stress/locustsuite/users/misuse.py:138
Method
teams_list
(self)
tests/stress/locustsuite/users/meta.py:86
Function
telemetry_app
Bare Flask app with telemetry early-init applied.
tests/unit/test_telemetry.py:36
Function
terms
()
horde/routes.py:500
Function
test_alchemist_palette_and_describe
(client, request_headers: dict[str, str])
tests/integration/test_alchemy.py:117
Function
test_alchemy_vectorize
(client, request_headers: dict[str, str])
tests/integration/test_alchemy.py:62
Method
test_all_exception_classes_are_http_exceptions
(self)
tests/unit/test_exceptions.py:51
Method
test_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
Method
test_all_strings
(self)
tests/unit/test_exceptions.py:68
Method
test_allowlist_worker_in_list_passes
(self)
tests/unit/test_worker_can_generate.py:171
Method
test_allowlist_worker_not_in_list_rejected
(self)
tests/unit/test_worker_can_generate.py:180
Method
test_anon_blocked_when_disallowed
(self, db_session, monkeypatch)
tests/unit/test_database_functions.py:66
Method
test_anon_blocked_when_disallowed
(self, db_session, monkeypatch)
tests/unit/test_database_functions.py:76
Method
test_anonymous_worker_forbidden
(self, client)
tests/integration/test_worker_ops.py:81
Method
test_auth_lookup_is_single_select
(self, db_session, make_user, assert_query_count)
tests/unit/test_database_functions.py:33
Function
test_auto_object_store_falls_back_when_complete_env_is_unreachable
(monkeypatch)
tests/unit/test_dependency_runtime.py:16
Method
test_bad_request
(self)
tests/unit/test_exceptions.py:19
Method
test_basis_adjustment_adds_before_scaling
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:109
Method
test_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
Method
test_basis_scale_multiplies
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:116
Method
test_blacklist_match_is_case_insensitive
(self)
tests/unit/test_worker_can_generate.py:151
Method
test_block_timeout_matches_cidr
(self, redis_caches)
tests/unit/test_countermeasures.py:105
Method
test_calculate_kudos_empty_model_list_uses_13b_assumption
(self)
tests/unit/test_kobold_text_wp.py:84
Method
test_calculate_kudos_matched_targeting_env_floors_to_min
(self, monkeypatch)
tests/unit/test_kobold_text_wp.py:89
Method
test_cannot_transfer_to_self
(self, client, app, api_key)
tests/integration/test_user_ops.py:172
Function
test_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
Method
test_check_file_returns_false_on_404
(self, fake_clients)
tests/unit/test_r2.py:96
Method
test_clean_prompt_passes_blacklist
(self)
tests/unit/test_worker_can_generate.py:156
Method
test_clean_text
(self)
tests/unit/test_utils.py:197
Method
test_combined_adjustment_and_scale
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:124
Function
test_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
Function
test_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
Function
test_db_pool_timeout_counter_increments_on_pool_exhaustion
(telemetry_app, monkeypatch)
tests/unit/test_telemetry.py:92
Method
test_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
Method
test_default_allowing_state_returns_true
(self)
tests/unit/test_worker_can_generate.py:80
Method
test_delete_timeout
(self, redis_caches)
tests/unit/test_countermeasures.py:97
Method
test_denylist_worker_in_list_rejected
(self)
tests/unit/test_worker_can_generate.py:189
Method
test_denylist_worker_not_in_list_passes
(self)
tests/unit/test_worker_can_generate.py:198
Method
test_doubling_resolution_increases_kudos
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:90
Method
test_doubling_steps_roughly_scales_kudos
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:80
Method
test_download_url_honours_explicit_bucket
(self, fake_clients)
tests/unit/test_r2.py:82
Method
test_download_url_uses_get_object
(self, fake_clients)
tests/unit/test_r2.py:60
Method
test_empty_blacklist_short_circuits
(self)
tests/unit/test_worker_can_generate.py:161
Method
test_empty_horde_returns_no_job_but_registers_worker
(self, client, make_api_user)
tests/integration/test_worker_ops.py:90
Method
test_empty_list
(self)
tests/unit/test_utils.py:153
Method
test_empty_modify_is_rejected
(self, client, make_api_user)
tests/integration/test_worker_ops.py:158
Method
test_empty_regex
(self)
tests/unit/test_utils.py:140
Method
test_empty_workers_list_passes_allowlist
(self)
tests/unit/test_worker_can_generate.py:207
Function
test_external_object_store_reports_unreachable_complete_env
(monkeypatch)
tests/unit/test_dependency_runtime.py:38
Method
test_extra_kudos_burn_adds_one
(self)
tests/unit/test_kobold_text_wp.py:81
Method
test_extract_ipv6_subnet
(self)
tests/unit/test_countermeasures.py:41
Method
test_find_worker_by_id_rejects_non_uuid
(self, db_session)
tests/unit/test_database_functions.py:88
Method
test_find_worker_by_name_unknown_returns_none
(self, db_session)
tests/unit/test_database_functions.py:91
Function
test_flask_extensions_importable
db and cache should be importable without a live app.
tests/unit/test_imports.py:26
Function
test_flux_image_gen
(client, request_headers: dict[str, str])
tests/integration/test_image.py:111
Method
test_forbidden
(self)
tests/unit/test_exceptions.py:24
Method
test_found
(self)
tests/unit/test_utils.py:145
Method
test_found
(self, db_session, make_user)
tests/unit/test_database_functions.py:43
Method
test_found
(self, db_session, make_user)
tests/unit/test_database_functions.py:72
Method
test_found_by_hashed_key
(self, db_session, make_user)
tests/unit/test_database_functions.py:19
Method
test_full_cycle_awards_kudos_and_rejects_duplicate
(self, client, api_key, make_api_user)
tests/integration/test_worker_ops.py:210
Method
test_generate_api_key_format
(self)
tests/unit/test_utils.py:186
Method
test_generate_api_key_unique
(self)
tests/unit/test_utils.py:191
← previous
next →
1,001–1,100 of 1,285, ranked by callers