Skip to content

feat: Add Z.AI Coding Plan provider#67

Merged
jamiepine merged 5 commits into
spacedriveapp:mainfrom
thesammykins:feature/zai-coding-plan-provider
Feb 20, 2026
Merged

feat: Add Z.AI Coding Plan provider#67
jamiepine merged 5 commits into
spacedriveapp:mainfrom
thesammykins:feature/zai-coding-plan-provider

Conversation

@thesammykins

@thesammykins thesammykins commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds the Z.AI Coding Plan endpoint and models (glm-4.7, glm-5, glm-4.5-air) as a new LLM provider in Spacebot.
  • Standardizes the LLM caller logic by removing legacy custom provider calls, replacing them with generic OpenAI-compatible flow.
  • Fixes recent compiler errors from upstream changes in main (updated function signatures for tests/bulletin.rs, tests/context_dump.rs, and webchat.rs).
Dia - 2026-02-20 at 14 57 57

@thesammykins thesammykins force-pushed the feature/zai-coding-plan-provider branch from 180ae10 to 5e1a88f Compare February 20, 2026 01:45
@thesammykins thesammykins marked this pull request as draft February 20, 2026 02:11
- Fixed endpoint pathing by bypassing generic OpenAI endpoint logic for zai-coding-plan
- Removed syntax error from duplicated boolean checks in config.rs
…ons path

- Fixed zai-coding-plan not being caught properly if configured via zhipu
- Fixed zhipu provider also suffering from the same 404 error due to call_openai appending /v1/chat/completions to a URL that didn't need it
@thesammykins thesammykins marked this pull request as ready for review February 20, 2026 03:57
@jamiepine jamiepine merged commit 30783bf into spacedriveapp:main Feb 20, 2026
rktmeister pushed a commit to rktmeister/spacebot that referenced this pull request Mar 11, 2026
…ing-plan-provider

feat: Add Z.AI Coding Plan provider
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.

2 participants