Now, we can start a Claude Code session that points it to the local AI Gateway endpoint:
export ANTHROPIC_BASE_URL=http://localhost:8000/
CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT=1 \
claude --allowedTools "WebSearch,Read" --model "my-claude"
And ask a question to confirm that requests reach AI Gateway.
Tell me about the Madrid Skylitzes manuscript.
Claude Code might prompt you approve its web search for answering the question. When you select Yes, Claude will produce a full-length response to your request:
The Madrid Skylitzes is a remarkable 12th-century illuminated Byzantine
manuscript that represents one of the most important surviving examples
of medieval historical documentation. Here are the key details:
What it is
The Madrid Skylitzes is the only surviving illustrated manuscript of John
Skylitzes' "Synopsis of Histories" (Σύνοψις Ἱστοριῶν), which chronicles
Byzantine history from 811 to 1057 CE - covering the period from the death
of Emperor Nicephorus I to the deposition of Michael VI.
Artistic Significance
- 574 miniature paintings (with about 100 lost over time)
- Lavishly decorated with gold leaf, vibrant pigments, and intricate
detailing
- Depicts everything from imperial coronations and battles to daily life
in Byzantium
- The only surviving Byzantine illuminated chronicle written in Greek
Unique Collaboration
The manuscript is believed to be the work of 7 different artists from
various backgrounds:
- 4 Italian artists
- 1 English or French artist
- 2 Byzantine artists