MCPcopy Create free account

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

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

Method__init__
(self, rc="AnonForbidden")
horde/exceptions.py:376
Method__init__
(self, rc="NotTrusted")
horde/exceptions.py:383
Method__init__
(self, maintenance_msg, rc="WorkerMaintenance")
horde/exceptions.py:390
Method__init__
(self, username, rc="TooManySameIPs")
horde/exceptions.py:397
Method__init__
(self, current_workers, rc="WorkerInviteOnly")
horde/exceptions.py:407
Method__init__
(self, ipaddr, rc="UnsafeIP")
horde/exceptions.py:424
Method__init__
(self, ipaddr, ttl, connect_type="Client", rc="TimeoutIP")
horde/exceptions.py:433
Method__init__
(self, ipaddr, rc="TooManyNewIPs")
horde/exceptions.py:459
Method__init__
(self, kudos_required, username, message, rc="KudosUpfront")
horde/exceptions.py:469
Method__init__
(self, job_id, rc="InvalidJobID")
horde/exceptions.py:476
Method__init__
( self, req_id, request_type="Waiting Prompt", client_agent="unknown",
horde/exceptions.py:483
Method__init__
(self, worker_id, rc="WorkerNotFound")
horde/exceptions.py:500
Method__init__
(self, team_id, rc="TeamNotFound")
horde/exceptions.py:507
Method__init__
(self, thing_type, thing_id, message=None, rc="ThingNotFound")
horde/exceptions.py:514
Method__init__
(self, user_id, lookup_type="ID", message=None, rc="UserNotFound")
horde/exceptions.py:524
Method__init__
(self, worker, gen_id, rc="DuplicateGen")
horde/exceptions.py:534
Method__init__
(self, worker, gen_id, rc="AbortedGen")
horde/exceptions.py:541
Method__init__
(self, username, rc="RequestExpired")
horde/exceptions.py:551
Method__init__
(self, username, count, concurrency, msg=None, rc="TooManyPrompts")
horde/exceptions.py:558
Method__init__
(self, username, rc="NoValidWorkers")
horde/exceptions.py:573
Method__init__
(self, endpoint, rc="MaintenanceMode")
horde/exceptions.py:582
Method__init__
(self, prompt, models, params, user)
horde/validation.py:21
Method__init__
(self, json_row)
horde/database/classes.py:13
Method__init__
(self)
horde/classes/stable/kudos.py:135
Method__init__
(self, *args, **kwargs)
horde/classes/stable/interrogation.py:230
Method__init__
(self, *args, **kwargs)
horde/classes/base/processing_generation.py:59
Method__init__
(self)
horde/classes/base/news.py:11
Method__init__
(self, worker_ids, models, *args, **kwargs)
horde/classes/base/waiting_prompt.py:150
Method__init__
(self)
horde/apis/models/v2.py:27
Method__init__
(self, api)
horde/apis/models/v2.py:461
Method__init__
(self)
horde/apis/models/kobold_v2.py:12
Method__init__
(self)
horde/apis/models/stable_v2.py:15
Method__init__
(self, name: str)
tests/unit/test_r2.py:24
Method__init__
(self)
tests/unit/conftest.py:132
Method__len__
(self)
tests/unit/conftest.py:135
Method__new__
(cls)
horde/classes/stable/kudos.py:115
Function_cases
()
tests/integration/test_malformed_requests.py:41
Function_cm
()
tests/unit/conftest.py:172
Method_do_get
(self)
horde/flask.py:43
Function_fake_redis_backend
Provide Redis handles for API paths that touch cache helpers. Prefer fakeredis for hermetic tests. If fakeredis is unavailable, fall back to
tests/integration/conftest.py:104
Function_handle_value_error
(error)
horde/flask.py:155
Function_isolate_telemetry_env
(monkeypatch)
tests/unit/test_telemetry.py:28
Function_make
(*, trusted: bool = False, moderator: bool = False, kudos: int = 0)
tests/integration/conftest.py:193
Function_make
(**overrides: Any)
tests/unit/conftest.py:197
Function_no_rate_limit
()
tests/integration/test_malformed_requests.py:24
Function_no_rate_limit
Disable Flask-Limiter for these tests so the per-endpoint limits (e.g. 30/min on worker PUT) don't turn into spurious 429s under a fast suite.
tests/integration/test_worker_ops.py:23
Function_no_rate_limit
()
tests/integration/test_user_ops.py:21
Function_no_rate_limit
()
tests/integration/test_statistics.py:25
Function_no_rate_limit
()
tests/integration/test_validation_boundaries.py:21
Function_no_rate_limit
()
tests/integration/test_maintenance_threads.py:25
Function_on_execute
(conn, cursor, statement, parameters, context, executemany)
tests/unit/conftest.py:148
Function_pg_dsn
(pg_dsn: str)
tests/unit/conftest.py:27
Function_pg_schema
(pg_dsn: str)
tests/integration/conftest.py:55
Function_pg_schema
Create an isolated schema for this pytest session.
tests/unit/conftest.py:32
Methodabort
Called when this request needs to be stopped without rewarding kudos. Say because it timed out due to a worker crash
horde/classes/base/processing_generation.py:202
Methodactivate
(self)
horde/switch.py:9
Methodactivate
(self, downgrade_wp_priority=False, source_image=None, source_mask=None, extra_source_images=None, kudos_adjus
horde/classes/stable/waiting_prompt.py:242
Methodactivate
(self, downgrade_wp_priority=False, source_image=None, source_mask=None, extra_source_images=None, kudos_adjus
horde/classes/kobold/waiting_prompt.py:65
Methodactivate_waiting_prompt
(self)
horde/apis/v2/base.py:520
Methodactivate_waiting_prompt
(self)
horde/apis/v2/stable.py:353
Methodactive_count
(self)
horde/metrics.py:55
Functionadd_ai_horde_arguments
(parser)
tests/stress/locustsuite/events.py:21
Functionafter_request
(response)
horde/flask.py:174
Functionapi_key
Create or refresh the integration test user and return a plaintext API key.
tests/integration/conftest.py:218
Functionapp
(pg_dsn: str, _pg_schema: str)
tests/integration/conftest.py:69
Functionapp
Flask app pointed at test Postgres with an isolated schema.
tests/unit/conftest.py:43
Methodapply_style
(self)
horde/apis/v2/base.py:473
Functionassets
(filename)
horde/routes.py:511
Methodasync_cold
(self)
tests/stress/locustsuite/users/image.py:608
Methodasync_hot
(self)
tests/stress/locustsuite/users/image.py:595
Functionauth
(api_key)
tests/integration/test_malformed_requests.py:34
Functionbasis_payload
A fresh copy of BASIS_PAYLOAD per test (KudosModel mutates payloads in place via .get).
tests/unit/test_kudos_pricing.py:43
Methodcalculate_extra_kudos_burn
(self, kudos)
horde/classes/kobold/waiting_prompt.py:77
Methodcalculate_kudos
(self)
horde/classes/kobold/waiting_prompt.py:129
Methodcalculate_uptime_reward
(self)
horde/classes/stable/interrogation_worker.py:57
Methodcalculate_uptime_reward
(self)
horde/classes/stable/worker.py:61
Methodcalculate_uptime_reward
(self)
horde/classes/kobold/worker.py:111
Methodcall_function
(self)
horde/database/classes.py:24
Methodcall_function
(self)
horde/database/classes.py:34
Methodcan_generate
(self, waiting_prompt)
horde/classes/stable/worker.py:67
Methodcan_generate
(self, waiting_prompt)
horde/classes/kobold/worker.py:127
Methodcancel
(self)
horde/classes/stable/interrogation.py:109
Methodcheck_csam_triggers
(self, prompt)
horde/detection.py:280
Methodcheck_in
(self, max_tiles, **kwargs)
horde/classes/stable/interrogation_worker.py:39
Methodcheck_in
(self, max_pixels, **kwargs)
horde/classes/stable/worker.py:36
Methodcheck_in
(self, max_length, max_context_length, softprompts, **kwargs)
horde/classes/kobold/worker.py:48
Methodcheck_in
(self, **kwargs)
horde/classes/base/worker.py:290
Methodcheck_in
(self, **kwargs)
horde/classes/base/worker.py:561
Methodcheck_in
(self)
horde/apis/v2/kobold.py:325
Functioncheck_interrogations
()
horde/database/threads.py:277
Methodcheck_key
(self, api_key)
horde/classes/base/user.py:497
Methodcheck_redis_backends
(self)
horde/horde_redis.py:46
Functionclient
(app)
tests/integration/conftest.py:167
Functionclient
Flask test client.
tests/unit/conftest.py:73
Methodcode
(self)
horde/enums.py:46
Functionconvert_source_image_to_webp
Convert img2img sources to 90% compressed webp, to avoid wasting bandwidth, while still supporting all types
horde/image.py:70
Functionconvert_things_to_kudos
(things, **kwargs)
horde/database/text_functions.py:30
Functionconvert_things_to_kudos
(things, **kwargs)
horde/database/functions.py:570
Methodcopy_model
(cls)
horde/classes/stable/kudos.py:273
Functioncount_active_workers
(worker_class="image")
horde/database/functions.py:108
← previousnext →601–700 of 1,285, ranked by callers