Skip to content

Instantly share code, notes, and snippets.

View phoughton's full-sized avatar
🏢
Working @ Home

Peter Houghton phoughton

🏢
Working @ Home
View GitHub Profile
@phoughton
phoughton / opencode.json
Last active May 12, 2026 12:08
An example opencode.json provider list of models (as of 12/May/2026), includes costs for real-time use of Doubleword models. This enables the coding agent to use Doubleword's ( https://www.doubleword.ai/ ) API to drive the Opencode ( https://opencode.ai/ ) coding harness.
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"doubleword": {
"name": "Doubleword",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "https://api.doubleword.ai/v1",
"apiKey": "{env:DOUBLEWORD_API_KEY}"
},
@phoughton
phoughton / recs_example_with_mult.txt
Created February 25, 2025 15:38
This is a simple recs testing prompt, that is used to create a couple of data files that are combined by a system to produce the defined output.
This is a pipe delimited output file:
|ID1|ID2|Amount|Ref|XYMult|
|888|8294|100|24235|15|
|101|9378|205|9350|20.67|
Create 2 files, one in YAML and one in JSON that when combined create the above file.
The rules for combining are as follows: