Skip to content

Expose provider and model to AI agents - #74

Merged
ocots merged 1 commit into
mainfrom
feat/runtime-context
Sep 7, 2026
Merged

ocots merged 1 commit into
mainfrom
feat/runtime-context

Conversation

@ocots

@ocots ocots commented Sep 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Add the resolved provider and model to the system message sent to the agent.
  • Preserve the agent instructions while appending a Runtime context section.
  • Keep provider and model values parameterized and secret-free.

Agents can now reliably identify the provider and model used for their invocation, as requested by the generic hello agent.

Related PR

Test plan

  • Validate the workflow as YAML.
  • Run git diff --check.
  • Verify the generated JSON payload locally with jq.
  • Merge and re-run the CTBase AI Hello workflow.

@ocots
ocots merged commit 097d379 into main Sep 7, 2026
@ocots
ocots deleted the feat/runtime-context branch September 7, 2026 21:46
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