MCPcopy Create free account

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

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

↓ 2 callersMethodclose
(self)
tests/dependency_runtime.py:93
↓ 2 callersMethodcompile_kudos_details
(self)
horde/classes/base/user.py:904
↓ 2 callersFunctioncompile_regex_filter
(filter_type)
horde/database/functions.py:1696
↓ 2 callersFunctionconvert_source_image_to_pil
(source_image_b64)
horde/image.py:38
↓ 2 callersMethodcount_finished_jobs
(self)
horde/classes/base/waiting_prompt.py:345
↓ 2 callersMethodcount_processing_gens
(self)
horde/classes/base/waiting_prompt.py:382
↓ 2 callersFunctioncount_totals
()
horde/database/functions.py:657
↓ 2 callersMethodcount_workers
(self)
horde/classes/base/user.py:848
↓ 2 callersMethodcreate
(self)
horde/classes/base/style.py:161
↓ 2 callersFunctioncreate_schema
(dsn: str, schema_name: str)
tests/dependency_runtime.py:171
↓ 2 callersMethodcreate_worker_name
(self)
tests/stress/locustsuite/users/text.py:145
↓ 2 callersMethodcreate_worker_name
(self)
tests/stress/locustsuite/users/interrogation.py:114
↓ 2 callersMethoddelete_block_timeout
Deletes an IP address block from being in timeout
horde/countermeasures.py:220
↓ 2 callersMethoddowngrade
Ensures this WP requirements are not exceeding upfront kudos requirements
horde/classes/kobold/waiting_prompt.py:119
↓ 2 callersFunctiondrop_schema
(dsn: str, schema_name: str)
tests/dependency_runtime.py:180
↓ 2 callersFunctionfind_team_by_name
(team_name)
horde/classes/base/team.py:154
↓ 2 callersFunctiongenerate_client_id
()
horde/utils.py:79
↓ 2 callersFunctiongenerate_img_download_url
(filename, bucket=r2_transient_bucket)
horde/r2.py:202
↓ 2 callersFunctiongenerate_procgen_download_url
(procgen_id, shared=False)
horde/r2.py:82
↓ 2 callersFunctionget_all_redis_db_servers
An array of all the redis servers in the cluster We use this to always store the entries in all servers This allows redis to transparently f
horde/redis_ctrl.py:75
↓ 2 callersFunctionget_anon
()
horde/database/functions.py:56
↓ 2 callersMethodget_block_timeouts_matching_ip
Returns all known IP block timeouts which match a specific IP address
horde/countermeasures.py:244
↓ 2 callersMethodget_bridge_kudos_multiplier
To override in case we want to adjust the worker reward based on their bridge version
horde/classes/base/worker.py:345
↓ 2 callersFunctionget_cached_passkeys
Returns the cached passkeys object. This is used in request_utils to check if a passkey is known.
horde/database/__init__.py:19
↓ 2 callersMethodget_concurrency
(self, models_requested=None, models_dict=None)
horde/classes/base/user.py:798
↓ 2 callersFunctionget_current_passkey_owner
Returns the user ID of the owner of the passkey
horde/apis/request_utils.py:24
↓ 2 callersMethodget_details
(self)
horde/classes/stable/interrogation.py:174
↓ 2 callersFunctionget_expiry_date
()
horde/utils.py:110
↓ 2 callersMethodget_form_names
(self)
horde/classes/stable/interrogation_worker.py:108
↓ 2 callersMethodget_hashed_params_dict
We create a simulacra dictionary of the WP payload to cache in redis with the expected kudos cache This avoids us having to create a WP objec
horde/apis/v2/base.py:246
↓ 2 callersFunctionget_horde_db
()
horde/redis_ctrl.py:51
↓ 2 callersMethodget_ids
(self, **kwargs)
horde/patreon.py:44
↓ 2 callersMethodget_job_payload
(self, current_n)
horde/classes/base/waiting_prompt.py:254
↓ 2 callersMethodget_model_names
(self)
horde/classes/base/worker.py:599
↓ 2 callersMethodget_monthly_kudos
(self, user_id)
horde/patreon.py:57
↓ 2 callersMethodget_names
Returns the name of each patron, unless they have an alias defined in their note in which case it returns their alias instead
horde/patreon.py:47
↓ 2 callersFunctionget_oauth_id
()
horde/routes.py:187
↓ 2 callersMethodget_patrons
(self, product_name=None)
horde/stripe_subs.py:34
↓ 2 callersMethodget_patrons
(self, min_entitlement=0, max_entitlement=1000, exact_entitlement=None)
horde/patreon.py:34
↓ 2 callersMethodget_pop_payload
(self, procgen_list, payload)
horde/classes/base/waiting_prompt.py:330
↓ 2 callersMethodget_softprompt_names
(self)
horde/classes/kobold/worker.py:75
↓ 2 callersMethodget_sponsors
(self)
horde/patreon.py:82
↓ 2 callersMethodget_suspicion
(self)
horde/classes/base/worker.py:229
↓ 2 callersMethodget_tag_names
(self)
horde/classes/base/style.py:218
↓ 2 callersFunctionget_traceparent
Capture the current W3C traceparent string from the active span context.
horde/telemetry.py:247
↓ 2 callersMethodget_unique_name
(self)
horde/classes/base/style.py:257
↓ 2 callersMethodget_user_list
(self, sort="kudos", page=1)
horde/apis/v2/base.py:1408
↓ 2 callersMethodget_worker_by_id
(self, worker_id)
horde/apis/v2/base.py:1048
↓ 2 callersMethodget_worker_info_list
(self, details_privilege)
horde/apis/v2/base.py:1033
↓ 2 callersFunctionhistogram_views
Return SDK ``View`` objects mapping each registered histogram to its explicit bucket boundaries. Pass into ``logfire.configure(metrics=logfire
horde/metrics.py:117
↓ 2 callersMethodhorde_local_setex_to_json
(self, key, seconds, value)
horde/horde_redis.py:95
↓ 2 callersMethodhorde_r_delete
(self, key)
horde/horde_redis.py:138
↓ 2 callersFunctioninit_telemetry_late
Instrument SQLAlchemy and Redis once the app is fully constructed.
horde/telemetry.py:160
↓ 2 callersMethodis_expired
Returns true if the key has expired
horde/classes/base/user.py:186
↓ 2 callersMethodis_job_within_limits
Checks if the job is within the limits of the shared key Args: image_pixels (int, optional): The number of requested pixels. D
horde/classes/base/user.py:194
↓ 2 callersMethodis_suspicious
(self)
horde/classes/base/worker.py:232
↓ 2 callersMethodis_using_lcm
(self)
horde/classes/stable/waiting_prompt.py:515
↓ 2 callersMethodlog_aborted_job
(self)
horde/classes/base/worker.py:400
↓ 2 callersMethodmax_sharedkeys
(self)
horde/classes/base/user.py:854
↓ 2 callersMethodmodify_kudos
(self, kudos, action="generated", commit=True)
horde/classes/base/worker.py:386
↓ 2 callersFunctionnew_test_schema_name
(prefix: str)
tests/dependency_runtime.py:167
↓ 2 callersFunctionparse_garage_node_id
(output: str)
tests/dependency_runtime.py:372
↓ 2 callersMethodpayload_to_time
(self, payload)
horde/classes/stable/kudos.py:277
↓ 2 callersMethodpost
Check if there are generation requests queued for fulfillment. This endpoint is used by registered workers only
horde/apis/v2/kobold.py:316
↓ 2 callersMethodreceive_monthly_kudos
(self, force=False, prevent_date_change=False)
horde/classes/base/user.py:724
↓ 2 callersMethodrecord_contribution
(self, contributions, kudos)
horde/classes/base/team.py:109
↓ 2 callersMethodrecord_contributions
(self, raw_things, kudos, contrib_type, commit=True)
horde/classes/base/user.py:649
↓ 2 callersFunctionrecord_image_statistic
(procgen)
horde/classes/stable/genstats.py:105
↓ 2 callersMethodrecord_style
(self, kudos, contrib_type)
horde/classes/base/user.py:684
↓ 2 callersFunctionrecord_text_statistic
(procgen)
horde/classes/kobold/genstats.py:14
↓ 2 callersFunctionredis_reachable
(host: str, port: int)
tests/dependency_runtime.py:193
↓ 2 callersMethodrefresh
(self, worker=None, commit=True)
horde/classes/base/waiting_prompt.py:528
↓ 2 callersMethodrefresh_regex
(self)
horde/detection.py:78
↓ 2 callersMethodreport_proxy_suspicion
Increases the suspicion of proxy service's IP in redis temporarily
horde/countermeasures.py:137
↓ 2 callersFunctionretrieve_regex_replacements
(filter_type)
horde/database/functions.py:1706
↓ 2 callersMethodretrieve_suspicion
Checks the current suspicion of an IP address
horde/countermeasures.py:155
↓ 2 callersFunctionsend_webhook
(webhook_url: str, message: str)
horde/discord.py:11
↓ 2 callersMethodset_deleted
(self, is_deleted)
horde/classes/base/user.py:603
↓ 2 callersMethodset_forms
(self, forms)
horde/classes/stable/interrogation_worker.py:116
↓ 2 callersMethodset_info
(self, new_info)
horde/classes/base/team.py:85
↓ 2 callersMethodset_name
(self, new_name)
horde/classes/base/team.py:73
↓ 2 callersFunctionshould_ignore_cleanup_error
(raised_exc: BaseException)
tests/dependency_runtime.py:218
↓ 2 callersMethodsorted_news
(self)
horde/classes/base/news.py:51
↓ 2 callersFunctiontelemetry_enabled
Return ``True`` when telemetry should be activated for this process. Telemetry is opt-in. It activates only when an OTLP endpoint is configured
horde/telemetry.py:72
↓ 2 callersMethodtoggle_maintenance
(self, is_maintenance_active, maintenance_msg=None)
horde/classes/base/worker.py:278
↓ 2 callersFunctionupload_source_image
(image, filename)
horde/r2.py:150
↓ 2 callersMethodvalidate
(self)
horde/apis/v2/stable_styles.py:155
↓ 2 callersMethodvalidate_base_params
(self)
horde/validation.py:28
↓ 2 callersMethodvalidate_image_prompt
(self, prompt)
horde/validation.py:145
↓ 2 callersMethodvalidate_text_prompt
(self, prompt)
horde/validation.py:157
↓ 1 callersMethod__init__
(self, api)
horde/apis/models/kobold_v2.py:64
↓ 1 callersMethod__init__
(self, api)
horde/apis/models/stable_v2.py:183
↓ 1 callersMethod_activate
We separate the activation from __init__ as often we want to check if there's a valid worker for it Before we add it to the queue
horde/classes/base/waiting_prompt.py:194
↓ 1 callersFunction_append_to_github_env
(path: str, api_key: str)
tests/integration/bootstrap_test_user.py:78
↓ 1 callersFunction_bootstrap_test_user
(base_url: str, username: str, oauth_id: str, kudos: int)
tests/integration/bootstrap_test_user.py:42
↓ 1 callersFunction_build_sampling_options
Return ``logfire.SamplingOptions`` honouring ``OTEL_TRACES_SAMPLER_ARG``. Defaults to ``1.0`` (record everything) so local-deploy / dev get full
horde/telemetry.py:192
↓ 1 callersMethod_censorship_state
Determine the state string for this procgen based on its censorship flags.
horde/classes/kobold/processing_generation.py:27
↓ 1 callersFunction_classify_failures
Split recorded failures into ``(crash, client)`` buckets. A failure is a *crash* signal when its error carries a 5xx HTTP status or no HTTP s
tests/stress/check_smoke_results.py:49
↓ 1 callersFunction_cold_image_payload
(opts)
tests/stress/locustsuite/users/image.py:556
↓ 1 callersFunction_count_waiting_requests
(user, models=None, request_type="image")
horde/database/functions.py:581
← previousnext →201–300 of 1,285, ranked by callers