ARTEX/agent
BaaRai 978f308a9e fix(ollama): keyless env config and /v1 base URL normalization
Two review fixes on top of the Ollama provider:

FromEnv no longer inherits OPENAI_API_KEY for the ollama format. Ollama
ignores the bearer token, so inheriting the cloud key could only ship it to
the local or LAN endpoint, contradicting the comment in NewProvider and the
documented behavior.

ConfigFrom now normalizes the base URL to the /v1 root, so the natural
Ollama URL (host:11434 without /v1) works for chat as well. Previously the
provider appended /chat/completions to it and the request landed on a path
Ollama does not serve, while pgListModels already appended /v1.

Tests: bare-host normalization assertion, the /v1/chat/completions path
assertion, and a new test that the env config carries no inherited key.
2026-10-25 19:18:25 +01:00
..
adversarial_gate_seed_test.go feat: adversarial verification gate before confirmed findings 2026-10-12 06:26:51 +02:00
assembly.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
blackboard_inheritance_test.go Skip the four known-broken tests in code instead of CI -skip flags 2026-10-10 18:12:42 +02:00
cancelcause.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
capture.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
capture_approval_test.go Skip the four known-broken tests in code instead of CI -skip flags 2026-10-10 18:12:42 +02:00
capture_usage_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
chat.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
coldgraph.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
coldgraph_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
compaction.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
constraints.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
deadline_contract_seed_test.go feat: deadline contract in the executor seeds 2026-10-12 07:30:27 +02:00
deferred.go feat: 增加 Agent 流量绑定开关并补齐证据交接 2026-09-10 14:08:40 +08:00
deferred_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
finding_dedup_seed_test.go feat: duplicate discipline before report_finding and in the reporter 2026-10-12 07:29:59 +02:00
finding_quality_seed_test.go feat: measured impact and attacker-goal proof standard for findings 2026-10-12 06:25:35 +02:00
finding_recorder.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
finding_recorder_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
finding_workflow.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
finding_workflow_test.go feat: 增加 Agent 流量绑定开关并补齐证据交接 2026-09-10 14:08:40 +08:00
goals.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
insert_assets_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
mainagent.go feat: first-layer prompt-injection hardening for agents 2026-10-12 00:58:53 +02:00
noa.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
operator_handoff_seed_test.go feat: ask_operator environmental handoff discipline 2026-10-12 06:45:21 +02:00
planner.go feat(rsi): evidence-gated lesson library in shadow mode 2026-10-21 14:25:35 +02:00
prompt.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
prompt_injection_seed_test.go feat: first-layer prompt-injection hardening for agents 2026-10-12 00:58:53 +02:00
prompt_now_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
prompt_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
promptcatalog.go Merge pull request #65 from BaaRai/feat/deadline-contract 2026-10-12 08:02:08 +02:00
provider.go fix(ollama): keyless env config and /v1 base URL normalization 2026-10-25 19:18:25 +01:00
provider_capture_e2e_test.go feat(llmrec): 录制 LLM 请求/响应 HTTP 原文 2026-08-25 09:40:05 -04:00
provider_capture_test.go feat(llm): 每个 LLM 配置支持自定义会话头 2026-09-07 11:21:50 -04:00
provider_quota_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
provider_responses_test.go feat(llm): 支持 OpenAI Responses API 格式的 LLM 配置 2026-08-25 11:39:24 -04:00
proxyenv_test.go feat(proxy): 新增全局出口代理配置 2026-09-07 10:43:38 -04:00
retester.go feat: adversarial verification gate before confirmed findings 2026-10-12 06:26:51 +02:00
review_context_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
runinfo.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
session_header_test.go feat(llm): 每个 LLM 配置支持自定义会话头 2026-09-07 11:21:50 -04:00
side_questions.go feat(agent): 支持持久化 /btw 旁路提问 2026-09-10 21:42:25 +08:00
side_questions_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
stagnation_test.go feat(engine): ouroboros takes - goal ambiguity gate, failover escalation, stagnation surfacing 2026-10-21 14:46:56 +02:00
taskclock.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
terminalreason.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
terminalreason_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
testmain_test.go feat: each test package runs on its own database 2026-10-12 18:43:29 +02:00
toolcatalog.go feat(tasks): per-task test-account credentials 2026-10-09 14:28:08 +02:00
toolcatalog_test.go feat(coverage): 资产测试覆盖度(task_scope 范围 + fact 派生已测) 2026-08-08 09:09:38 -04:00
tools.go feat(engine): ouroboros takes - goal ambiguity gate, failover escalation, stagnation surfacing 2026-10-21 14:46:56 +02:00
tools_creds.go feat(tasks): per-task test-account credentials 2026-10-09 14:28:08 +02:00
tools_digest.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
tools_insert.go feat(tasks): per-task test-account credentials 2026-10-09 14:28:08 +02:00
tools_nil_store_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
tools_overview_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
worker.go feat(rsi): evidence-gated lesson library in shadow mode 2026-10-21 14:25:35 +02:00
worker_intervention_test.go 新增worker直接对话 2026-08-29 21:55:27 +08:00
wrapup.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00