This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const axios = require('axios') | |
| const { EventEmitter } = require('events') | |
| const BASE = 'https://api.heckai.weight-wave.com/api/ha/v1' | |
| const MODELS = [ | |
| 'meta-llama/llama-4-scout', | |
| 'openai/gpt-5-mini', | |
| 'x-ai/grok-3-mini-beta', | |
| 'openai/gpt-4.1-mini', | |
| 'openai/gpt-4o-mini' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const axios = require('axios') | |
| const sessions = new Map() | |
| const models = [ | |
| 'gpt-4.1-mini', | |
| 'gpt-5-mini', | |
| ] | |
| const rand = (len) => { | |
| const chars = 'abcdefghijklmnopqrstuvwxyz0123456789' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const axios = require('axios') | |
| const sessions = new Map() | |
| const models = [ | |
| 'gpt-4.1-mini', | |
| 'gpt-5-mini', | |
| ] | |
| const rand = (len) => { | |
| const chars = 'abcdefghijklmnopqrstuvwxyz0123456789' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const axios = require('axios') | |
| const sessions = new Map() | |
| const models = [ | |
| 'gpt-4.1-mini', | |
| 'gpt-5-mini', | |
| 'gpt-5-turbo', | |
| 'gpt-5.5-ultra' | |
| ] |