Implementation:AISecurityLab Hackagent V1 Chat Completions Create
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Storage, HTTP_Client |
| Last Updated | 2026-10-29 00:00 GMT |
Overview
Concrete generated HTTP client function for POST /generate chat completions, the OpenAI-compatible generation endpoint of the HackAgent API, provided by the HackAgent storage HTTP API package.
Description
The v1_chat_completions_create module provides sync and async functions to request chat completions via the HackAgent API's generate endpoint, which is OpenAI-compatible. It accepts chat messages and returns a completion response.
Usage
- RemoteBackend: Used when the HackAgent API serves model completions.
Code Reference
Source Location
- Repository: AISecurityLab_Hackagent
- File: hackagent/storage/_http/api/generate/v1_chat_completions_create.py
Related Pages
Implements Principle
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment