MCPcopy Create free account

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

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

↓ 1 callersMethodrecord_interrogation
We record the servers newest interrogation contribution
horde/classes/stable/interrogation_worker.py:85
↓ 1 callersMethodrecord_problem_job
(self, procgen, ipaddr, worker, prompt)
horde/classes/base/user.py:1016
↓ 1 callersMethodrecord_usage
Record that we received a requested interrogation and how much kudos it costs us
horde/classes/stable/interrogation.py:354
↓ 1 callersMethodrecord_usage
(self, raw_things, kudos, usage_type, commit=True)
horde/classes/base/user.py:635
↓ 1 callersMethodrecord_usage
Record that we received a requested generation and how much kudos it costs us We use 'thing' here as we do not care what type of thing we're
horde/classes/base/waiting_prompt.py:480
↓ 1 callersFunctionrefresh_r2_module_from_env
()
tests/dependency_runtime.py:538
↓ 1 callersFunctionrefresh_worker_performances_cache
(request_type="image")
horde/database/functions.py:1480
↓ 1 callersMethodreset_suspicion
Clears the user's suspicion and resets their reasons
horde/classes/base/user.py:836
↓ 1 callersFunctionresolve_postgres_dsn
Return SQLAlchemy DSN following this repository's env-var convention.
tests/dependency_runtime.py:133
↓ 1 callersMethodrestore_env
(self)
tests/dependency_runtime.py:85
↓ 1 callersFunctionretrieve_prioritized_wp_queue
(wp_type)
horde/database/functions.py:1646
↓ 1 callersMethodretrieve_users_details
(self)
horde/apis/v2/base.py:1390
↓ 1 callersFunctionretrieve_worker_performances
()
horde/database/text_functions.py:170
↓ 1 callersMethodretrieve_workers_details
(self)
horde/apis/v2/base.py:1011
↓ 1 callersFunctionselected_object_store_tests
(request: pytest.FixtureRequest)
tests/dependency_runtime.py:113
↓ 1 callersFunctionsend_pause_notification
(message: str)
horde/discord.py:23
↓ 1 callersMethodsend_webhook
(self, kudos)
horde/classes/stable/interrogation.py:183
↓ 1 callersMethodsend_webhook
(self, kudos)
horde/classes/base/processing_generation.py:268
↓ 1 callersMethodset_admin_comment
(self, new_comment)
horde/classes/base/user.py:518
↓ 1 callersMethodset_blacklist
(self, blacklist)
horde/classes/base/worker.py:571
↓ 1 callersFunctionset_cached_passkeys
Sets the cached passkeys object. Called from start_background_threads() to initialize the global variable.
horde/database/__init__.py:13
↓ 1 callersMethodset_contact
(self, new_contact)
horde/classes/base/user.py:509
↓ 1 callersMethodset_customizer
(self, is_customizer)
horde/classes/base/user.py:578
↓ 1 callersMethodset_education
(self, is_service)
horde/classes/base/user.py:593
↓ 1 callersMethodset_flagged
(self, is_flagged)
horde/classes/base/user.py:564
↓ 1 callersMethodset_forms
(self, forms=None)
horde/classes/stable/interrogation.py:264
↓ 1 callersMethodset_generation
(self, generation, things_per_sec, **kwargs)
horde/classes/stable/processing_generation.py:84
↓ 1 callersMethodset_generation
Set to its own function to it can be overwritten depending on the class
horde/apis/v2/base.py:794
↓ 1 callersMethodset_job_ttl
Returns how many seconds each job request should stay waiting before considering it stale and cancelling it This function should be overriden
horde/classes/base/processing_generation.py:319
↓ 1 callersFunctionset_logger_verbosity
(count)
horde/logger.py:18
↓ 1 callersMethodset_models
(self, models)
horde/classes/base/worker.py:614
↓ 1 callersMethodset_models
(self, model_names=None)
horde/classes/base/waiting_prompt.py:170
↓ 1 callersMethodset_public_workers
(self, has_public_workers)
horde/classes/base/user.py:610
↓ 1 callersMethodset_service
(self, is_service)
horde/classes/base/user.py:588
↓ 1 callersMethodset_softprompts
(self, softprompts)
horde/classes/kobold/worker.py:90
↓ 1 callersMethodset_source_image
(self, source_image, r2stored, image_tiles)
horde/classes/stable/interrogation.py:236
↓ 1 callersMethodset_special
(self, is_special)
horde/classes/base/user.py:598
↓ 1 callersMethodset_username
(self, new_username)
horde/classes/base/user.py:500
↓ 1 callersMethodset_vpn
(self, is_vpn)
horde/classes/base/user.py:583
↓ 1 callersMethodset_workers
(self, worker_ids=None)
horde/classes/base/waiting_prompt.py:159
↓ 1 callersMethodsetup
(self, td: Any)
horde/metrics.py:43
↓ 1 callersMethodsort_news
(self, raw_news)
horde/classes/base/news.py:36
↓ 1 callersFunctionstart_background_threads
Start all periodic background threads. Called from create_app() in non-test mode.
horde/database/__init__.py:27
↓ 1 callersMethodstart_generation
(self, worker, amount=1)
horde/classes/base/waiting_prompt.py:260
↓ 1 callersFunctionstart_managed_object_store
(runtime: HordeTestRuntime)
tests/dependency_runtime.py:392
↓ 1 callersFunctionstart_managed_postgres
(runtime: HordeTestRuntime)
tests/dependency_runtime.py:264
↓ 1 callersMethodstart_worker
(self, wp)
horde/apis/v2/base.py:660
↓ 1 callersFunctionstore_prioritized_wp_queue
Stores the retrieved WP queue as json for 1 second horde-wide
horde/database/threads.py:102
↓ 1 callersFunctionstore_worker_list
Stores the retrieved worker details as json for 300 seconds horde-wide
horde/database/threads.py:135
↓ 1 callersFunctiontest
()
horde/sandbox.py:30
↓ 1 callersMethodtoggle_paused
(self, is_paused_active)
horde/classes/base/worker.py:285
↓ 1 callersFunctiontransfer_kudos
(source_user, dest_user, amount)
horde/database/functions.py:479
↓ 1 callersFunctiontransfer_kudos_to_username
(source_user, dest_username, amount)
horde/database/functions.py:538
↓ 1 callersMethodtricked_worker
(self, worker)
horde/classes/base/waiting_prompt.py:327
↓ 1 callersFunctionunreachable_object_store_env
()
tests/dependency_runtime.py:354
↓ 1 callersMethodupload_generation_metadata
(self)
horde/classes/stable/processing_generation.py:149
↓ 1 callersFunctionupload_prompt
(prompt_dict)
horde/r2.py:182
↓ 1 callersFunctionupload_shared_metadata
(filename)
horde/r2.py:174
↓ 1 callersFunctionupload_source_image_to_r2
Convert source images to webp and uploads it to r2, to avoid wasting bandwidth, while still supporting all types
horde/image.py:91
↓ 1 callersMethodvalidate
(self)
horde/apis/v2/base.py:258
↓ 1 callersMethodvalidate
(self)
horde/apis/v2/base.py:682
↓ 1 callersMethodvalidate
(self)
horde/apis/v2/base.py:808
↓ 1 callersMethodvalidate
(self)
horde/apis/v2/styles.py:52
↓ 1 callersMethodvalidate
(self)
horde/apis/v2/styles.py:156
↓ 1 callersMethodvalidate
(self)
horde/apis/v2/kobold_styles.py:157
↓ 1 callersMethodvalidate
(self)
horde/apis/v2/stable.py:1340
↓ 1 callersMethodwhitelist_ip
(self, ipaddr)
horde/apis/limiter_api.py:19
↓ 1 callersMethodwipe
(self)
horde/classes/base/user.py:471
FunctionCIVERSION
()
tests/conftest.py:42
Method__call__
(self, prompt, _id=None)
horde/detection.py:119
Method__init__
(self)
horde/horde_redis.py:22
Method__init__
( self, interval: float, function: Callable, args: list | None = None,
horde/threads.py:32
Method__init__
(self)
horde/detection.py:23
Method__init__
(self, amount, decimals=1)
horde/utils.py:44
Method__init__
(self, message, log=None, rc="BadRequest")
horde/exceptions.py:175
Method__init__
(self, message, log=None, rc="Forbidden")
horde/exceptions.py:182
Method__init__
(self, message, rc="Locked")
horde/exceptions.py:189
Method__init__
(self, username, rc="MissingPrompt")
horde/exceptions.py:196
Method__init__
(self, username, ip, prompt, message=None, rc="CorruptPrompt", proxy_service_ip=None)
horde/exceptions.py:203
Method__init__
(self, username, error_message, action="transfer", rc="KudosValidationError")
horde/exceptions.py:217
Method__init__
(self, error_message, rc="NoValidActions")
horde/exceptions.py:224
Method__init__
(self, username, rc="InvalidSize")
horde/exceptions.py:231
Method__init__
(self, rc="InvalidPromptSize")
horde/exceptions.py:238
Method__init__
(self, username, steps, rc="TooManySteps")
horde/exceptions.py:245
Method__init__
(self, username, text, text_type, rc="Profanity")
horde/exceptions.py:252
Method__init__
(self, username, chars, limit, text_type, rc="TooLong")
horde/exceptions.py:259
Method__init__
(self, username, old_name, new_name, object_type="worker", rc="NameAlreadyExists")
horde/exceptions.py:266
Method__init__
(self, name, object_type="worker", rc="PolymorphicNameConflict")
horde/exceptions.py:273
Method__init__
( self, message=("Please ensure the source image payload is either a URL containing an image
horde/exceptions.py:282
Method__init__
(self, rc="SourceMaskUnnecessary")
horde/exceptions.py:293
Method__init__
(self, rc="UnsupportedSampler")
horde/exceptions.py:300
Method__init__
(self, message=None, rc="UnsupportedModel")
horde/exceptions.py:307
Method__init__
(self, procgen_id, rc="ProcGenNotFound")
horde/exceptions.py:317
Method__init__
(self, message, rc="InvalidAestheticAttempt")
horde/exceptions.py:324
Method__init__
(self, subject, keytype="API", rc="InvalidAPIKey")
horde/exceptions.py:331
Method__init__
(self, username, worker, rc="WrongCredentials")
horde/exceptions.py:341
Method__init__
(self, username, endpoint, rc="NotAdmin")
horde/exceptions.py:348
Method__init__
(self, username, endpoint, rc="NotModerator")
horde/exceptions.py:355
Method__init__
(self, username, worker_name, rc="NotOwner")
horde/exceptions.py:362
Method__init__
(self, username, message, action, rc="NotPrivileged")
horde/exceptions.py:369
← previousnext →501–600 of 1,285, ranked by callers