Skip to content

aicg: learning_gap — lessons#1

Merged
JoshuaAFerguson merged 1 commit into
mainfrom
aicg/2026-07-08/llm-application-developer-learning/learning-empty-module-container-lessons
Jul 8, 2026
Merged

aicg: learning_gap — lessons#1
JoshuaAFerguson merged 1 commit into
mainfrom
aicg/2026-07-08/llm-application-developer-learning/learning-empty-module-container-lessons

Conversation

@JoshuaAFerguson

Copy link
Copy Markdown
Contributor

AICG cross-repo audit work item

  • Type: learning_gap / ?
  • Work ID: learning-empty-module-container-lessons
  • Repo: llm-application-developer-learning
  • Target: lessons

Why

lessons contains no mod-* directories.

Loop note

Generated by the autonomous runner. CI must pass.

@JoshuaAFerguson
JoshuaAFerguson merged commit b7796bf into main Jul 8, 2026
1 check passed
@JoshuaAFerguson
JoshuaAFerguson deleted the aicg/2026-07-08/llm-application-developer-learning/learning-empty-module-container-lessons branch July 8, 2026 05:47

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6f3fa44c5a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

## Requirements

- Use **schema-constrained output** if your provider supports it (OpenAI Structured Outputs or Anthropic tool use). Fall back to JSON mode + validation only if it does not.
- Use a low `temperature` (0 to 0.2). This is a classification task with right answers.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Do not require temperature for Opus 4.7 users

This lab supports an Anthropic implementation, and the preceding lectures use claude-opus-4-7 as the Anthropic example model; Anthropic's Opus 4.7 migration docs state that non-default sampling parameters such as temperature are rejected with HTTP 400. A learner who follows the Anthropic path and sets temperature=0 or 0.2 to satisfy this requirement will fail before any classification runs, so this should be conditional on models that support temperature or replaced with guidance to omit it for Opus 4.7.

Useful? React with 👍 / 👎.


for block in response.content:
if block.type == "tool_use":
payload = block.input # already a dict conforming to the schema

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Enable strict Anthropic tools before claiming schema guarantees

This comment is not guaranteed by the example as written: Anthropic documents strict schema-conformant tool inputs as a strict-tools feature, but the tool definition above only supplies input_schema and never sets strict: true. In the Anthropic implementation path, students can therefore treat block.input as validated when it may still need schema validation, undermining the structured-output lesson.

Useful? React with 👍 / 👎.

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