Observed since 20 Oct, 18:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
acty-gigachat
GigaChat executor for acty
acty-gigachat provides a GigaChatExecutor implementation for Acty. It
adapts langchain-gigachat chat models to the Acty executor interface and adds
session-aware behavior for GigaChat prefix-caching workflows.
pip install acty-gigachat
For local development:
pip install -e .[dev]
import asyncio
from acty import ActyEngine, EngineConfig
from acty_gigachat import GigaChatExecutor
from langchain_gigachat.chat_models import GigaChat
async def main() -> None:
model = GigaChat(credentials="YOUR_AUTHORIZATION_KEY", verify_ssl_certs=False)
engine = ActyEngine(
executor=GigaChatExecutor(model=model),
config=EngineConfig(primer_workers=1, follower_workers=1),
)
try:
submission = await engine.submit_group(
"demo",
{"input": "Hello!", "invoke_kwargs": {"temperature": 0.2}},
[],
)
if submission.primer is not None:
result = await submission.primer
print(result.output)
finally:
await engine.close()
asyncio.run(main())
Payloads may provide messages, input, or prompt. The executor forwards an
optional invoke_kwargs dictionary to the model.
GigaChatExecutor uses the GigaChat SDK session_id_cvar context variable to
control the X-Session-ID header during model calls.
Job.context["cache"]["provider_ref"] is present, the executor reuses itThis makes the executor suitable for Acty cache flows where a primer attaches a provider reference and followers reuse it later.
The executor can enrich the active OpenTelemetry/OpenInference LLM span with:
This is enabled by default and respects the configured telemetry privacy gates.
tests/acty and acty-core because it imports
symbols from both at runtimeDownload counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
acty-coreEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | acty-core<0.2.0,>=0.1.0 | runtime |
actyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | acty<0.2.0,>=0.1.0 | runtime |
langchain-gigachatEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | langchain-gigachat>=0.3.12 | runtime |
actyEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | acty<0.2.0,>=0.1.0; extra == "dev" | runtime |
buildEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | build>=1.2.2; extra == "dev" | runtime |
gigachatEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | gigachat>=0.1.43; extra == "dev" | runtime |
httpcoreEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | httpcore>=1.0.9; extra == "dev" | runtime |
httpxEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | httpx>=0.28.1; extra == "dev" | runtime |
opentelemetry-sdkEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | opentelemetry-sdk>=1.39.0; extra == "dev" | runtime |
pytest-asyncioEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | pytest-asyncio>=1.3.0; extra == "dev" | runtime |
pytestEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | pytest>=9.0.0; extra == "dev" | runtime |
twineEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | twine>=5.1.1; extra == "dev" | runtime |
bdist_wheel · 9.57 KB · Python py3
sdist · 15.84 KB · Python source
Observed since 20 Oct, 18:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:691eb804426c9ffa8948e571a022f2cd3dddd445cdfb95167eb8866c4dd93aba