GitNexus/gitnexus/src/cli
Abhigyan Patwari b905a20997 fix(wiki): Azure OpenAI compat and HTML viewer script injection (#618)
* fix(wiki): Azure OpenAI compat and HTML viewer script injection

- Use max_completion_tokens instead of deprecated max_tokens for all models
- Skip sending temperature for Azure provider (some models reject non-default values)
- Simplify Azure interactive setup: endpoint + deployment + key (3 prompts instead of 7)
- Escape </script> in embedded JSON to prevent premature script tag closure

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(test): align wiki-llm-client test with max_completion_tokens change

The test expected max_tokens for non-reasoning models, but the source
now uses max_completion_tokens for all models since max_tokens is
deprecated by newer OpenAI models.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Abhigyan Patwari <abhigyan@Abhigyans-MacBook-Air.local>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 21:30:43 +05:30
..
ai-context.ts feat: added skip-agents-md cli flag (#517) 2026-03-28 21:23:59 +00:00
analyze.ts feat: added skip-agents-md cli flag (#517) 2026-03-28 21:23:59 +00:00
augment.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
clean.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
eval-server.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
index-repo.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
index.ts feat: added skip-agents-md cli flag (#517) 2026-03-28 21:23:59 +00:00
lazy-action.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
list.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
mcp.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
serve.ts feat: unify web and cli ingestion pipeline (#536) 2026-03-28 14:07:11 +00:00
setup.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
skill-gen.ts feat: configure eslint with unused import removal (#564) 2026-03-28 15:28:09 +00:00
status.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
tool.ts feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
wiki.ts fix(wiki): Azure OpenAI compat and HTML viewer script injection (#618) 2026-04-01 21:30:43 +05:30