@poncho-ai/harness 0.20.9 → 0.20.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +6 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
- package/src/model-factory.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @poncho-ai/harness@0.20.
|
|
2
|
+
> @poncho-ai/harness@0.20.10 build /Users/cesar/Dev/latitude/poncho-ai/packages/harness
|
|
3
3
|
> tsup src/index.ts --format esm --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
[34mCLI[39m tsup v8.5.1
|
|
8
8
|
[34mCLI[39m Target: es2022
|
|
9
9
|
[34mESM[39m Build start
|
|
10
|
-
[32mESM[39m [1mdist/index.js [22m[32m200.
|
|
11
|
-
[32mESM[39m ⚡️ Build success in
|
|
10
|
+
[32mESM[39m [1mdist/index.js [22m[32m200.34 KB[39m
|
|
11
|
+
[32mESM[39m ⚡️ Build success in 146ms
|
|
12
12
|
[34mDTS[39m Build start
|
|
13
|
-
[32mDTS[39m ⚡️ Build success in
|
|
13
|
+
[32mDTS[39m ⚡️ Build success in 3697ms
|
|
14
14
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m24.36 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @poncho-ai/harness
|
|
2
2
|
|
|
3
|
+
## 0.20.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`45fc930`](https://github.com/cesr/poncho-ai/commit/45fc93066547f8ba01eb6f2fcdff560f18da3451) Thanks [@cesr](https://github.com/cesr)! - Use clean `anthropic` provider name in telemetry instead of `anthropic.messages`, so Latitude correctly identifies the model.
|
|
8
|
+
|
|
3
9
|
## 0.20.9
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1858,6 +1858,7 @@ var createModelProvider = (provider, config) => {
|
|
|
1858
1858
|
}
|
|
1859
1859
|
const apiKeyEnv = config?.anthropic?.apiKeyEnv ?? "ANTHROPIC_API_KEY";
|
|
1860
1860
|
const anthropic = createAnthropic({
|
|
1861
|
+
name: "anthropic",
|
|
1861
1862
|
apiKey: process.env[apiKeyEnv]
|
|
1862
1863
|
});
|
|
1863
1864
|
return (modelName) => anthropic(modelName);
|
package/package.json
CHANGED
package/src/model-factory.ts
CHANGED
|
@@ -72,6 +72,7 @@ export const createModelProvider = (provider?: string, config?: ProviderConfig):
|
|
|
72
72
|
|
|
73
73
|
const apiKeyEnv = config?.anthropic?.apiKeyEnv ?? "ANTHROPIC_API_KEY";
|
|
74
74
|
const anthropic = createAnthropic({
|
|
75
|
+
name: "anthropic",
|
|
75
76
|
apiKey: process.env[apiKeyEnv],
|
|
76
77
|
});
|
|
77
78
|
return (modelName: string) => anthropic(modelName);
|