Files
hack/tools/scripts/llm-key-hunter/results/_cache/content/6chhenry_paimon-asks-everything.json
OpenCode 68a9071cf1 feat: reconcile local master with origin (exa/hot-platform hunters, leaks ledger, latest results)
Local branch had diverged from origin/master (sibling commits on the same base). Rewrote local history linearly on top of origin/master, folding in all local content: exa/hot-platform discovery hunters, leaks ledger, nightly sweep orchestrator, updated .gitignore and skill docs, plus the latest hunt output and vault state. Remote-only files (vault keys, channel scripts) were restored rather than dropped, so the resulting tree is a full union of both sides.
2026-08-07 12:53:47 +08:00

1 line
1.5 KiB
JSON

{"repo": "6chhenry/paimon-asks-everything", "files": {"tests/llm-api-style.test.ts": {"efdaba8d2d6acaacce44272c9ca0456bc8c1cb6f": {"t": 1786068365.356926, "n": 1214, "h": "076f4f424e695855", "c": "import { describe, expect, it } from \"vitest\";\nimport { resolveLlmApiStyle, resolveLlmEndpoint } from \"@/lib/llm-api-style\";\n\ndescribe(\"LLM API style\", () => {\n it(\"defaults missing and invalid values to anthropic\", () => {\n expect(resolveLlmApiStyle(undefined)).toBe(\"anthropic\");\n expect(resolveLlmApiStyle(\"invalid\")).toBe(\"anthropic\");\n });\n\n it(\"keeps an explicit OpenAI selection\", () => {\n expect(resolveLlmApiStyle(\"openai\")).toBe(\"openai\");\n });\n\n it.each([\n [\"https://api.deepseek.com\", \"https://api.deepseek.com/anthropic/v1/messages\"],\n [\"https://api.deepseek.com/anthropic\", \"https://api.deepseek.com/anthropic/v1/messages\"],\n [\"https://api.deepseek.com/anthropic/v1\", \"https://api.deepseek.com/anthropic/v1/messages\"],\n [\"https://api.deepseek.com/anthropic/v1/messages\", \"https://api.deepseek.com/anthropic/v1/messages\"],\n ])(\"resolves Anthropic endpoint from %s\", (base, expected) => {\n expect(resolveLlmEndpoint(base, \"anthropic\").toString()).toBe(expected);\n });\n\n it(\"resolves the existing OpenAI endpoint\", () => {\n expect(resolveLlmEndpoint(\"https://api.deepseek.com\", \"openai\").toString())\n .toBe(\"https://api.deepseek.com/chat/completions\");\n });\n});\n"}}}}