test(catalog): sourced Model and ModelSpec types from pi-catalog
Followed AGENTS.md by importing the catalog model-spec types from @oh-my-pi/pi-catalog/types in the issue #2558 regression. The Context/Tool/TJsonSchema signatures used by streamAnthropic still come from pi-ai.
This commit is contained in:
@@ -17,8 +17,9 @@
|
||||
*/
|
||||
import { describe, expect, it } from "bun:test";
|
||||
import { buildAnthropicClientOptions, streamAnthropic } from "@oh-my-pi/pi-ai/providers/anthropic";
|
||||
import type { Context, Model, ModelSpec, TJsonSchema, Tool } from "@oh-my-pi/pi-ai/types";
|
||||
import type { Context, TJsonSchema, Tool } from "@oh-my-pi/pi-ai/types";
|
||||
import { buildModel } from "@oh-my-pi/pi-catalog/build";
|
||||
import type { Model, ModelSpec } from "@oh-my-pi/pi-catalog/types";
|
||||
|
||||
const COPILOT_BEARER = JSON.stringify({ token: "ghc_test" });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user