Skip to content

[codex] Add web search grounding#287

Merged
Kamilbenkirane merged 1 commit into
mainfrom
web-search-grounding
Jun 19, 2026
Merged

[codex] Add web search grounding#287
Kamilbenkirane merged 1 commit into
mainfrom
web-search-grounding

Conversation

@Kamilbenkirane

@Kamilbenkirane Kamilbenkirane commented Jun 19, 2026

Copy link
Copy Markdown
Member

Summary

Adds normalized web-search grounding to text outputs: searched queries, sources, and span citations.

This wires the shared Grounding model into output assembly and adds native extraction plus text-level mapping for providers/protocols that expose structured search data.

Details

  • Adds shared grounding models and output hooks for sync and streaming text generation.
  • Maps structured citations for OpenResponses, Chat Completions-compatible providers, Google Gemini, Anthropic Messages, and Groq Compound search results.
  • Keeps native provider/protocol layers responsible for raw wire extraction and text modality layers responsible for normalized Grounding construction.

Validation

  • uv run ruff check src/celeste
  • uv run mypy src/celeste
  • git diff --check
  • focused smoke assertions for xAI numeric titles, Google byte-to-character offsets, Anthropic citation spans, and Groq search rows
  • pre-commit/pre-push hooks passed, including tests with coverage

@Kamilbenkirane Kamilbenkirane marked this pull request as ready for review June 19, 2026 07:55
@Kamilbenkirane Kamilbenkirane merged commit 20a9216 into main Jun 19, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant