Skip to content

Conversation

yanxi0830
Copy link
Contributor

@yanxi0830 yanxi0830 commented Jan 30, 2025

What

  1. Sync node SDK for v0.1.0

  2. Add demo test scripts for inference / agents

  3. Node -> Typescript/Javascript

Test

Inference
image

Agents
image

Tests
image

Note

There's some type casting issue. Full type checking will fail (due to discriminated Union not being casted correctly for Streaming). Reproduce w/ inference script. Replace require (CommonJS) with import (ESM).

import LlamaStackClient from 'llama-stack-client';
// const LlamaStackClient = require('llama-stack-client').default;
image

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 30, 2025
@yanxi0830 yanxi0830 marked this pull request as draft January 30, 2025 01:06
@yanxi0830 yanxi0830 changed the title v0.1.0 sdk sync v0.1.0 node client sdk sync Jan 30, 2025
@yanxi0830 yanxi0830 marked this pull request as ready for review January 30, 2025 02:39
@yanxi0830 yanxi0830 merged commit 4dc9bbe into main Jan 30, 2025
1 check passed
@yanxi0830 yanxi0830 deleted the v1-client-sync branch January 30, 2025 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants